+1 Catalina On Tue, Apr 20, 2010 at 2:09 PM, Michael Dick <[email protected]> wrote:
> Hi, > > I think you've specified the 1.0 version of the persistence spec in > persistence.xml (in which case we will act like OpenJPA 1.0). Changing to > use the 2.0 version resolved the problem in my environment. > > To put it another way, this works : > <?xml version="1.0"?> > <persistence 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" > version="2.0"> > . . . > > This doesn't : > <?xml version="1.0"?> > <persistence 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_1_0.xsd" > version="1.0"> > . . . > > Could you check your persistence.xml is using the right verison? > > -mike > > On Tue, Apr 20, 2010 at 3:10 PM, No1UNo <[email protected]> wrote: > > > > > (Non voting) > > > > -1 > > > > My unit tests are not passing with this build. I'll start dropping > JIRAs, > > but here's an easy one: > > > > > > TestEntity e = new TestEntity(); > > em.persist(e); > > em.flush(); > > em.detach(e); > > Assert.assertTrue(em.contains(e) == false); // FAILS > > > > > > > > > > > > On Apr 19, 2010, at 2:46 PM, DWoods [via OpenJPA] wrote: > > > > > I've staged a RC2 for OpenJPA 2.0.0 based on r935683 of the code in the > > > 2.0.x branch, which was tagged in svn to: > > > https://svn.apache.org/repos/asf/openjpa/tags/2.0.0/ > > > > > > The following issues were resolved since the first RC vote on April > 11th > > > (svn r932976): > > > OPENJPA-1091, OPENJPA-1605, OPENJPA-1628, OPENJPA-1630, OPENJPA-1631 > > > > > > Release Notes: > > > > > > http://svn.apache.org/viewvc/openjpa/tags/2.0.0/openjpa-project/RELEASE-NOTES.html?view=co > > > > > > Maven staging repo: > > > http://people.apache.org/~dwoods/openjpa/2.0.0/staging-repo/<http://people.apache.org/%7Edwoods/openjpa/2.0.0/staging-repo/> > > > > > > Site staging: > > > http://people.apache.org/~dwoods/openjpa/2.0.0/staging-site/<http://people.apache.org/%7Edwoods/openjpa/2.0.0/staging-site/> > > > > > > Distribution artifacts: > > > > > > http://people.apache.org/~dwoods/openjpa/2.0.0/staging-site/apache-openjpa/downloads/<http://people.apache.org/%7Edwoods/openjpa/2.0.0/staging-site/apache-openjpa/downloads/> > > > > > > User's Guide: > > > > > > http://people.apache.org/~dwoods/openjpa/2.0.0/staging-site/apache-openjpa/docs/<http://people.apache.org/%7Edwoods/openjpa/2.0.0/staging-site/apache-openjpa/docs/> > > > > > > API Docs: > > > http://people.apache.org/~dwoods/openjpa/2.0.0/staging-site/apidocs/<http://people.apache.org/%7Edwoods/openjpa/2.0.0/staging-site/apidocs/> > > > > > > > > > The RAT and IANAL build checks passed. > > > The openjpa and openjpa-all shaded jar content looks good. > > > The test-base, test-sources and tests jars are in the staging repo. > > > > > > > > > The vote will be open for 3 days. > > > > > > [ ] +1 > > > [ ] 0 > > > [ ] -1 (and reason why) > > > > > > > > > Thanks, > > > Donald > > > > > > > > > > > > View message @ > > > http://n2.nabble.com/VOTE-Apache-OpenJPA-2-0-0-release-candidate-2-tp4927203p4927203.html > > > To start a new topic under OpenJPA Users, email > > [email protected]<ml-node%[email protected]> > <ml-node%[email protected]<ml-node%[email protected]> > > > > > To unsubscribe from OpenJPA Users, click here. > > > > > > > > > -- > > View this message in context: > > > http://n2.nabble.com/VOTE-Apache-OpenJPA-2-0-0-release-candidate-2-tp4927203p4933416.html > > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > >
