Thank you for your answer.
I did the same and I still have the same issue...
I just changed:
<persistence-unit name="catalogPU" transaction-type="JTA">
<jta-data-source>jdbc/petcatalog</jta-data-source>
<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)"/>
</persistence-unit>
And I got :
"user lacks privilege or object not found"
I guess I forgot something but I can't figure out what. As the error is
about privilege, maybe it's about tomcat-user.xml?
--
View this message in context:
http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655467.html
Sent from the OpenEJB User mailing list archive at Nabble.com.