Funny: adding a datasource make it starting: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" 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_2_0.xsd"> <persistence-unit name="org.waastad_Polygot-relational_jar_1.0-SNAPSHOTPU" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <jta-data-source>foo</jta-data-source> <class>org.waastad.polygot.relational.Customer</class> <properties> <property name="javax.persistence.jdbc.url" value="jdbc:derby://localhost:1527/polygot"/> <property name="javax.persistence.jdbc.password" value="satest"/> <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/> <property name="javax.persistence.jdbc.user" value="satest"/> <property name="javax.persistence.schema-generation.database.action" value="create"/> </properties> </persistence-unit> </persistence>
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-22 10:23 GMT+01:00 Romain Manni-Bucau <[email protected]>: > Note you use eclipselink 2.5 which is not compatible with tomee (JPA > 2.1 vs JPA 2.0) > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-11-22 10:00 GMT+01:00 hwaastad <[email protected]>: >> Hi, >> tried doing that now, but it did'nt seem to change anything. >> >> br hw >> >> >> >> -- >> View this message in context: >> http://tomee-openejb.979440.n4.nabble.com/tomee-eclipselink-and-polygot-persistence-tp4672983p4672990.html >> Sent from the TomEE Users mailing list archive at Nabble.com.
