Wolfgang Knauf [http://community.jboss.org/people/WolfgangKnauf] created the discussion
"Re: JBoss:EJB is not creating table in MySQL DB" To view the discussion, visit: http://community.jboss.org/message/581233#581233 -------------------------------------------------------------- Hi, first of all: you use a JPA 2.0 persistence.xml, but JBoss 5.x only supports 1.0. Maybe it is silently ignoring it ;-). Next step: activate sql logging of the persistence layer. To do so, add this to your persistence.xml: <properties> <property name="hibernate.hbm2ddl.auto" value="create-drop"/> <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/> *<property name="hibernate.show_sql" value="true"/>* </properties> Maybe there is a database error message show now. Hope this helps Wolfgang -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/581233#581233] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user