com.lutris.appserver.server.sql
Class DataSourceDBConnectionFactory
java.lang.Object
com.lutris.appserver.server.sql.DataSourceDBConnectionFactory
- All Implemented Interfaces:
- AbstractDBConnectionFactory
- public class DataSourceDBConnectionFactory
- extends java.lang.Object
- implements AbstractDBConnectionFactory
Method Summary |
DBConnection |
createConnection(ConnectionAllocator connectionAllocatorObj,
javax.sql.DataSource dataSource,
int maxPreparedStatements,
boolean logging,
int generation)
|
DBConnection |
createConnection(ConnectionAllocator connectionAllocatorObj,
java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxPreparedStatements,
boolean logging,
int generation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceDBConnectionFactory
public DataSourceDBConnectionFactory()
createConnection
public DBConnection createConnection(ConnectionAllocator connectionAllocatorObj,
java.lang.String url,
java.lang.String user,
java.lang.String password,
int maxPreparedStatements,
boolean logging,
int generation)
throws java.sql.SQLException
- Specified by:
createConnection
in interface AbstractDBConnectionFactory
- Throws:
java.sql.SQLException
createConnection
public DBConnection createConnection(ConnectionAllocator connectionAllocatorObj,
javax.sql.DataSource dataSource,
int maxPreparedStatements,
boolean logging,
int generation)
throws java.sql.SQLException
- Throws:
java.sql.SQLException