Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
Thanks Tim, I was using branch R7, changed to master, it builds now. Now I have updated my project to OSGi 7 with Transaction Control, how do I deploy to Karaf? i.e., what bundles/features do I need? Best regards, Alex soto > On May 17, 2018, at 2:08 PM, Tim Ward

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Tim Ward
Hi Alex, Bnd 4.0.0 was only released last Sunday, but this should have been changed yesterday in this commit https://github.com/osgi/osgi.enroute/commit/9f9857c3d317cd08a7aaf7327c1904676299f9ee to make sure enRoute kept building. EnRoute is automatically pushed to the sonatype OSGi nexus

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
Allright,  I am trying to follow the EnRoute tutorial.I am getting this error:[ERROR] Plugin biz.aQute.bnd:bnd-maven-plugin:4.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact biz.aQute.bnd:bnd-maven-plugin:jar:4.0.0-SNAPSHOT in Bnd Snapshots 

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
Allright, I am trying to follow the EnRoute tutorial. I am getting this error: [ERROR] Plugin biz.aQute.bnd:bnd-maven-plugin:4.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact biz.aQute.bnd:bnd-maven-plugin:jar:4.0.0-SNAPSHOT in Bnd Snapshots

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Tim Ward
It is highly unlikely that you’ll hit the same issues. The transaction control resource provider uses the DataSourceFactory directly to create a DataSource (either progamatically using a factory service or via config admin) that enlists itself in the ongoing transaction. This means that the

Re: MariaDB/JPA Transaction rollback not working

2018-05-17 Thread Alex Soto
I will take a look at these examples. However, I think that if I cannot get a MariaDB DataSource that supports transactions, then it will still not work, right? If the examples use H2 database, I still may get different results when I change to MariaDB, and I will find myself in the same spot