Hello again, for some reason my post is still in Pending Alert: This post has NOT been accepted by the mailing list yet. I tried to subscribe but this does not seem to be working for me either.
Anyway, I continued to search on the Internet to find a potential solution and I cam across the following; https://cwiki.apache.org/GMOxDOC20/very-simple-entity-ejb-example.html Here there is written the following; "persistence.xml will specify the name of the PersistenceUnit. This name is used when referencing for the EntityManagerFactory. I have denoted it as PhonePU. For some reason I could not get it to reference with jta-data-source. So the alternative method is to explicitly specify the ConnectionURL, ConnectionDriverName, and ConnectionUserName. I added an extra property called SynchronizeMappings so that the data in the database will not be overwritten." This seems very similar to the problem I am having. Does this mean that using JPA it is impossible to use data sources with Geronimo? Also what is the alternative solution. I tried to download the code and this is exactly as in the tutorial. Additionally using jta-datasource (no dash) rather then jta-data-source make maven fail the compilation! -- View this message in context: http://openjpa.208410.n2.nabble.com/Problems-when-setting-jta-data-source-value-tp5845073p5855939.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
