Hi,

this is the default behavior, which is declared in "persistence.xml":

        <?xml version="1.0" encoding="UTF-8"?>
  |     <persistence xmlns="http://java.sun.com/xml/ns/persistence";
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |             version="1.0">
  |             <persistence-unit name="myPersistenceUnit">
  |                     <jta-data-source>java:/DefaultDS</jta-data-source>
  |                     <properties>
  |                             <property name="hibernate.hbm2ddl.auto" 
value="create-drop" />
  |                     </properties>
  |             </persistence-unit>
  |     </persistence> 
  | 
See here (last table in the chapter) for other values: 
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html#configuration-optional

Best regards

Wolfgang

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

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

Reply via email to