Thanks catton2000. In my server\default\deploy\ejb3.deployer\META-INF\ folder the contents of the persistence.xml is shown below. I guess the create-drop says it all.
I would like to implement a persistence.xml file for MySQL database. Do you know an example anywhere? hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup hibernate.connection.release_mode=after_statement hibernate.transaction.flush_before_completion=false hibernate.transaction.auto_close_session=false hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory hibernate.hbm2ddl.auto=create-drop #hibernate.hbm2ddl.auto=create hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider # Clustered cache with TreeCache #hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook #hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache hibernate.connection.datasource=java:/DefaultDS hibernate.dialect=org.hibernate.dialect.HSQLDialect javax.persistence.provider=org.hibernate.ejb.HibernatePersistence View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887067#3887067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887067 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
