java - Transaction management Apache Karaf with myBatis -
i'm developing osgi app apache karaf , mybatis. have problem transaction management - how achieve following:
- start transaction.
- some business methods
- some db calls.
- transaction commit.
now if happens in point 3. want rollback (db , business method actions).
should use pure jta or other framework?
i've asked google examples based on jpa + jta or spring want omit.
thanks in advance!
Comments
Post a Comment