public class SpringConnectionProvider
extends java.lang.Object
implements java.util.function.Supplier<java.sql.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 and Description |
---|
SpringConnectionProvider(javax.sql.DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
get() |
Copyright © 2007–2021 Querydsl. All rights reserved.