Hi Gavin. Thanx a lot for your answer.
I've just tried out that, using JBoss4.0.4RC1, but I don't get the EntityManager. I defined the following persistence.xml file: <?xml version="1.0" encoding="UTF-8"?> | | <entity-manager> | <!-- Entity Manager definition --> | <persistence-unit name="LibraryDB1"> | <!-- EJB3 classes --> | <jar-file>../library.jar</jar-file> | <!-- Data source name --> | <jta-data-source>java:/PostgresDS#LibraryDB1</jta-data-source> | | <properties> | <!-- Define JNDI entry to get the EntityManager via lookup --> | <property name="jboss.entity.manager.jndi.name" value="java:/EntityManagers"/> | | <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> | <property name="hibernate.hbm2ddl.auto" value="update"/> | </properties> | </persistence-unit> | </entity-manager> | What is missing? What's wrong? Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919575#3919575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919575 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
