I thought about it , I had also tried but in the beginning it had not worked .
Now that you have made me return to the file ' persistence.xml ' , i published without tags '<class>', then only so: ... <persistence-unit name="cmp" transaction-type="JTA"> <jta-data-source>sqliteCmp</jta-data-source> <properties> <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true, Indexes=false, IgnoreErrors=true)"/> <property name="openjpa.Log" value="DefaultLevel=INFO"/> </properties> </persistence-unit> ... and so it worked! Tank so much for the interest -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/CMP2-1-select-of-the-DataSource-tp4673120p4673134.html Sent from the TomEE Users mailing list archive at Nabble.com.