I have been googleing and found a few mentions of here and there in the context of Seam. Based on what I have found it looks like a Hibernate convenience to load the data. It must be deployed with the ejb jar and must be called import.sql
There is some mention of it here but none of these mention any configuration invloded so I guess there is none
http://www.michaelyuan.com/blog/2006/11/29/official-seam-demo-app-for-gla...http://dltj.org/2007/01/drc-ir-ejb3-seam/
EDIT while conposing this:
I found it in Hibernate docs
http://www.hibernate.org/381.html
anonymous wrote : Also note that since Hibernate 3.1 you can include a file called "import.sql" in the runtime classpath of Hibernate. At the time of schema export it will execute the SQL statements contained in that file after the schema has been exported.
|
| One problem that exists at least until 3.1.2 is that if you have any "error" in your custom sqls the generation will fail. This makes it impossible to safely drop sequences or indexes before you create them in that file. That is because either you only "create" your stuff which will fail the second time or you "drop" and "create" which will fail the first time since there is nothing to drop.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037203#4037203
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037203
I have tried everything and cannot get JBoss to run. I have downloaded and installed JDK 1.5 into the following directory: c:\Java. I have downloaded and installed JBoss into the following directory: c:\JBoss. I have set a new system environment variable as: JAVA_HOME with a value of c:\Java\jdk1.5.0_11.
When I open a cmd window and navigate to c:\JBoss\bin and attempt to run "run.bat" I get the following:
"Could not locate C:\Java\jdk1.5.0_11\jre\bin\lib\tools.jar. Unexpected results may occur. Make sure that JAVA_HOME point to a JDK and not a JRE."
I'm loosing my mind. Help is greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037196#4037196
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037196