Class SpringTransactionProvider

java.lang.Object
org.springframework.boot.jooq.autoconfigure.SpringTransactionProvider
All Implemented Interfaces:
org.jooq.TransactionProvider

public class SpringTransactionProvider extends Object implements org.jooq.TransactionProvider
Allows Spring Transaction to be used with jOOQ.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringTransactionProvider(org.springframework.transaction.PlatformTransactionManager transactionManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    begin(org.jooq.TransactionContext context)
     
    void
    commit(org.jooq.TransactionContext ctx)
     
    void
    rollback(org.jooq.TransactionContext ctx)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jooq.TransactionProvider

    properties
  • Constructor Details

    • SpringTransactionProvider

      public SpringTransactionProvider(org.springframework.transaction.PlatformTransactionManager transactionManager)
  • Method Details

    • begin

      public void begin(org.jooq.TransactionContext context)
      Specified by:
      begin in interface org.jooq.TransactionProvider
    • commit

      public void commit(org.jooq.TransactionContext ctx)
      Specified by:
      commit in interface org.jooq.TransactionProvider
    • rollback

      public void rollback(org.jooq.TransactionContext ctx)
      Specified by:
      rollback in interface org.jooq.TransactionProvider