接口 TxConnectionManager

所有超级接口:
ConnectionManager
所有已知实现类:
AbstractTxConnectionManager

public interface TxConnectionManager extends ConnectionManager
A connection manager with transaction management mechanism, whether using an IOC framework or not.
  • If an IOC framework is used, its implementation should be an encapsulation of the transaction management within the IOC framework. Taking jimmer-spring-starter as an example, it is the SpringConnectionManager which will be created and enabled automatically.
  • If no IOC framework is used, the class AbstractTxConnectionManager is the lightweight implementation provided by jimmer, please specify the connection manager of sqlClient by ConnectionManager.simpleConnectionManager(DataSource)