Hi

do you have logs saying the datasource was auto adjusted? maybe you
just use a hsql db.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/10/27 almos <[email protected]>:
> Yes, my persistence.xml has openjpa.jdbc.DBDictionary property, please see
> below:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence version="2.0"
>         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";>
>         <persistence-unit name="mydb_pu" transaction-type="JTA">
>                 <jta-data-source>mydb_resource</jta-data-source>
>
> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
>                 <class>com.test.entities.TestUser</class>
>                 <properties>
>          <property name="openjpa.Log" value="DefaultLevel=INFO, Tool=INFO" />
>          <property name="openjpa.jdbc.DBDictionary"
> value="org.apache.openjpa.jdbc.sql.MySQLDictionary" />
>          <property name="openjpa.jdbc.SynchronizeMappings"
> value="buildSchema(ForeignKeys=true)"/>
>                 </properties>
>         </persistence-unit>
> </persistence>
>
>
>
>
> Also I see that OpenJPA recognizes MySQL dictionary, here is cut-off from
> TomEE logs:
>
> 132922  INFO   [http-bio-8080-exec-5] openjpa.Runtime - Starting OpenJPA
> 2.2.0
> 133126  INFO   [http-bio-8080-exec-5] openjpa.jdbc.JDBC - Using dictionary
> class "org.apache.openjpa.jdbc.sql.MySQLDictionary".
>
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/TomEE-OpenJPA-MySQL-issue-tp4665748p4665751.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to