Did you see any "ADJUSTING ...." message in logs? JLouis
2013/5/13 Patel, Sanjay <[email protected]> > Here is my persistence.xml and I have resource defined in my tomee.xml. > > <?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="MyApplicationPU" transaction-type="JTA"> > > <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> > > <jta-data-source>${jpa.jta.datasource.managed}</jta-data-source> > > <non-jta-data-source>${jpa.jta.datasource.unmanaged}</non-jta-data-source> > <class>myClass1</class> > <class>myClass2</class> > <properties> > <property name="eclipselink.logging.level" > value="FINE" /> > <property name="eclipselink.logging.exceptions" > value="true"/> > </properties> > </persistence-unit> > </persistence> > > -----Original Message----- > From: Romain Manni-Bucau [mailto:[email protected]] > Sent: Monday, May 13, 2013 9:33 AM > To: [email protected] > Subject: Re: eclipselink in tomee > > Hi > > it works ;) (i know it doesn't help that much) > > basically how did you configure it in your persistence.xml? > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > 2013/5/13 Patel, Sanjay <[email protected]> > > > We have used OpenJPA in all our previous projects without any issue. > > Very simple to setup. We are trying to use eclipselink in our new > > project and it does not seem to work. > > > > Looks like eclipselink does not read the resource in tomee.xml. It > > connects to HSQLDB and then complains about not finding table in > database. > > > > I saw many people are having same issue but did not find any answer > > for that. Is this still an issue or something needs to be configured > > properly for eclipselink to work in tomee? > > > -- Jean-Louis
