MySQL Forums
Forum List  »  NDB clusters

ClusterJPA with non-jta Data Source backup?
Posted by: Format Dynamics
Date: January 13, 2015 11:58AM

I'm currently using openjpa with mysql connector/j to my mysql cluster (using dbcp2 and jdbc:mysql:loadbalance).
I'm doing this in my persistence file using:
<property name="javax.persistence.nonJtaDataSource" value="java:/comp/env/jdbc/mydatasource" />

I want to start using clusterjpa with the NDB brokerfactory, but so far all the examples I have seen have the backup JDBC data source specified directly in the persistence file (url,user,pass).
Is it possible to use my non-jta data source with pooling instead?

On a side note, is there any updated docs on compiling/running with clusterjpa? The last official stuff seems from 7.1.2. Or has nothing really changed since then?

Thanks!

-Tony

Options: ReplyQuote


Subject
Views
Written By
Posted
ClusterJPA with non-jta Data Source backup?
2028
January 13, 2015 11:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.