Joined: Thu Jan 10, 2008 11:23 am Posts: 4 Location: NJ, USA
|
Generally, it includes two types of sql files
1. DDL file for creating objects
2. Insert sql file for creating rows (for settings and test data)
One way is to write a class to read from sql files and execute it in batch
Another way is to use hibernate objects.
I am not able to think, how i can use hibernate to create tables and insert data, for initial installations.
Any comments or ideas?
_________________ Thanks
Ashish Jain
http://www.jframeworks.com
|
|