I followed the method described here http://openejb.979440.n4.nabble.com/JPA-2-0-support-td2223420.html#a2223420 on the forum and applied the OPENEJB-1236 patch to the 933865 revision checkout. Will this work better than the SNAPSHOT? BTW, where can I get the latest snapshot (the updated bug-free version if possible) of the openejb-standalone.jar?
Thx for your answer. On Thu, Jun 3, 2010 at 9:45 PM, Jean-Louis MONTEIRO [via OpenEJB] <[email protected]> wrote: > Hi, > > we already have a first JPA 2.0 integration working. > Actually, i've been using it with Hibernate for weeks. > > The available snapshots (3.1.3-SNAPSHOT) contains a bug. > We need to push a new snapshot so that you can give it a try. > > BTW, i changed an openejb sample to test the whole thing with Hibernate. If > you want, i can definitely give you a patch file (or a zip file). > > Hope it helps. > Jean-Louis > > > Yvan wrote: > Hi, > > I know there's a JIRA for this problem but I still would like to know > whether there is any workaround whatsoever to make OpenEJB accept a JPA2 > provider for test purposes. > > I am getting the "Creating application failed: classpath.ear: > org.apache.openejb.persistence.PersistenceUnitInfoImpl.getValidationMode()Ljavax/persistence/ValidationMode;" > for the moment being. > > I tried to alter the javaee-api-5.0.2 jar file in order to overwrite its > javax.persistence, javax.transaction and javax.annotation with something > newer but have got no luck up until now > > > Thx for your input > > ________________________________ > View message @ > http://openejb.979440.n4.nabble.com/OpenEJB-with-Hibernate-3-5-x-as-JPA2-provider-tp2241747p2242257.html > To unsubscribe from OpenEJB with Hibernate 3.5.x as JPA2 provider, click > here. > -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-with-Hibernate-3-5-x-as-JPA2-provider-tp2241747p2242364.html Sent from the OpenEJB User mailing list archive at Nabble.com.
