yes i can work without slice in this scenarios: <?xml version="1.0" encoding="UTF-8"?> <persistence 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_1_0.xsd" version="1.0"> <persistence-unit name="ufsc20-unit" transaction-type="JTA"> <jta-data-source>jdbc/ufsc20</jta-data-source> <non-jta-data-source>jdbc/ufsc20</non-jta-data-source> <class>com.plasticmummy.ufsc20.entity.NotesDatabase</class> <properties> <property name="openjpa.TransactionMode" value="managed" /> <property name="openjpa.ConnectionFactoryMode" value="managed" /> <property name="openjpa.ConnectionFactoryProperties" value="PrettyPrint=true, PrettyPrintLineLength=72" /> <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)" /> <property name="openjpa.LockManager" value="version" /> <property name="openjpa.Log" value="DefaultLevel=INFO,SQL=TRACE" /> <property name="openjpa.jdbc.DBDictionary" value="db2" /> <property name="openjpa.jdbc.Schema" value="UFSC20" /> </properties> </persistence-unit> </persistence>
i run it in the tomee 1.5.2 on windows 7 x64. this is work fine. how can i migrate to slice like add another new db2 database. -- View this message in context: http://openjpa.208410.n2.nabble.com/slice-with-db2-error-tp7583764p7583771.html Sent from the OpenJPA Users mailing list archive at Nabble.com.