During development it is very convenient to use the create-drop property in the 
persistence.xml to create the database from the annotation in the persistent 
entity. 

For integration tests and in production, that is not usable. First I need to 
create the database, then I need to perform some additional SQL statement ...

How do you deploy your EJB3 application ?

Is it possible to get the SQL statement used by EJB3 in order to create tables ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007862
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to