Re: CMP2.1 select of the DataSource

2014-12-04 Thread Romain Manni-Bucau
Hi you can delcare a persistence-unit (jpa one) in a standard persistence.xml called cmp. And here you can define a datasource Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-12-03 21:07 GMT+01:00 vidaniello

Re: CMP2.1 select of the DataSource

2014-12-04 Thread vidaniello
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-sourcesqliteCmp/jta-data-source