public class SpringConnectionProvider extends Object implements javax.inject.Provider<Connection>
Usage example
Provider<Connection> provider = new SpringConnectionProvider(dataSource());
SQLQueryFactory queryFactory = SQLQueryFactory(configuration, provider);
Constructor and Description |
---|
SpringConnectionProvider(DataSource dataSource) |
public SpringConnectionProvider(DataSource dataSource)
public Connection get()
get
in interface javax.inject.Provider<Connection>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.