I tried:
        emf = OpenJPAPersistence.getEntityManagerFactory();

but it doesn't find persistence.xml, and raises:
        <openjpa-1.1.0-r422266:657916 fatal user error>
        org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or
DataSource class name
        must be specified in the ConnectionDriverName property.

Are there any samples out there?  The ones included with OpenJPA don't
include any managed resources.


-- 
View this message in context: 
http://n2.nabble.com/Tomcat-Injection-tp395699p395729.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to