Yes, Hibernate will automatic execute the /Import.sql.

The problem is that JBoss will not create the schema for the EJB3 if I did not 
add a properties 

  | <property name="hibernate.hbm2ddl.auto" value="create"/>
  | 

If I add the above property to the persistence.xml, it will re-create all the 
tables each time I startup the JBoss.

How to make the Jboss to create the schema only once ???

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926729#3926729

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926729


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to