This content has been marked as final.
Show 3 replies
-
1. Re: newbie: import.sql in the examples
norman.richards Oct 10, 2005 2:06 PM (in response to patrick_ibg)This is a function of hibernate. The file will be executed when hibernate creates your tables.
-
2. Re: newbie: import.sql in the examples
neelixx Oct 18, 2005 9:05 PM (in response to patrick_ibg)Where did you find this? I would like to include an import.sql for the SchemaExport, but not sure where to put it.
Do you just place it in the root directory of the par file, and hbm2ddl will locate it automatically? -
3. Re: newbie: import.sql in the examples
norman.richards Oct 19, 2005 12:36 AM (in response to patrick_ibg)It reads it from the classloader as a resource, so you can put it anywhere that gets into your classpath. Your par/ejb3 jar makes the most sense to me.