Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

ClusterJPA with non-jta Data Source backup? (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>