Package com.querydsl.sql.spring
Class SpringConnectionProvider
java.lang.Object
com.querydsl.sql.spring.SpringConnectionProvider
- All Implemented Interfaces:
Supplier<Connection>
SpringConnectionProvider is a Provider implementation which provides a transactionally bound connection
Usage example
Provider<Connection> provider = new SpringConnectionProvider(dataSource());
SQLQueryFactory queryFactory = SQLQueryFactory(configuration, provider);
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpringConnectionProvider
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<Connection>
-