[JBoss-user] [EJB 3.0] - Re: Bean (+mysql) doesn't get deployed
And oracle has more than one dialect as well - be warned ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941012#3941012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941012 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Bean (+mysql) doesn't get deployed
One comment only: I stopped using hibernate.dialect in "persistence.xml" file and now can switch SQL server by changing of datasource only. But be warned - Mysql has two dialects (myISAM and Innodb) and Hibernate cannot determine what you can (or want) to use. Some time ago was here some more information about Mysql and Hibernate dialect. | | Leonell View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940954#3940954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940954 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Bean (+mysql) doesn't get deployed
Found my bug. For those who care: persistence.xml should be in the META-INF of the EJB .jar, not the .ear. The unitName is not required in the @PersistenceContext annotation when the above fix is made. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940560#3940560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940560 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user