Thanks for the reply. Got further along following conventions my tomee.xml
now looks like

<Resource id="jdbc/mysql" type="javax.sql.DataSource">
        # configure the pool
        DataSourceCreator tomcat
        # it is a jta datasource
        JtaManaged true
        # tomcat pool configuration
        JdbcDriver com.mysql.jdbc.Driver
        JdbcUrl
jdbc:mysql://localhost:3306/adaptiveauth?noAccessToProcedureBodies=true
        UserName root
        Password adminl8g3e7
        ValidationQuery SELECT 1
        MaxActive 4
        MaxIdle 2
        MaxWait -1
        JmxEnabled true # specific to tomcat pooling
</Resource>


But getting new error. 
INFO: <openjpa-2.2.0-r422266:1244990 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: $Proxy109

Don't know what Proxy109 means



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Getting-a-persistence-exception-using-openjpa-jta-datasource-tp4657731p4657733.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to