When deploying applications, I often use the capabilities of Hibernates to create a database schema to simplify deployment. This is easily achieved by setting the hibernate.hbm2ddl.auto property.
However, sometimes I also need to insert some source data into a database, such as root user. Is there a way that I could achieve this through hibernation with some kind of boot text file?
I know that I could easily program code that will do this, but just wondering if there is any utility that can help me achieve the same through configuration?
initialization import hibernate data-importer
Dan Mar 23 '09 at 15:20 2009-03-23 15:20
source share