openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Barnett <james.a.barn...@hp.com>
Subject RE: problems running JPA standalone (outside of container)
Date Wed, 28 Sep 2011 16:58:00 GMT
Here's the output:

Factory: org.apache.xerces.jaxp.SAXParserFactoryImpl
Parser: org.apache.xerces.jaxp.SAXParserImpl


Thanks for your help...

From: Pinaki Poddar [via OpenJPA] [mailto:ml-node+s208410n6840929h34@n2.nabble.com]
Sent: Wednesday, September 28, 2011 10:44 AM
To: Barnett, James
Subject: Re: problems running JPA standalone (outside of container)

Oops,
Please do this to see which parser is active

                SAXParserFactory factory = SAXParserFactory.newInstance();
                SAXParser parser = factory.newSAXParser();
                System.err.println("Factory: " + factory.getClass().getName());
                System.err.println("Parser: " + parser.getClass().getName());

before you call Persistence.createEntityManagerFactory().
Pinaki Poddar
Chair, Apache OpenJPA Project

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openjpa.208410.n2.nabble.com/problems-running-JPA-standalone-outside-of-container-tp6838028p6840929.html
To unsubscribe from problems running JPA standalone (outside of container), click here<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6838028&code=amFtZXMuYS5iYXJuZXR0QGhwLmNvbXw2ODM4MDI4fC0xMDM2OTUzODM2>.


--
View this message in context: http://openjpa.208410.n2.nabble.com/problems-running-JPA-standalone-outside-of-container-tp6838028p6840984.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message