public interface HybrisDataSource extends DataSource
getConnection, getConnectiongetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterisWrapperFor, unwrapDataSourceFactory getDataSourceFactory()
String getDriverVersion()
String getJNDIName()
String getID()
JDBCConnectionPool getConnectionPool()
Tenant getTenant()
Connection getConnection(boolean transactionBound) throws SQLException
SQLExceptionvoid returnToPool(ConnectionImpl conn)
void invalidate(ConnectionImpl conn)
void destroy()
int getNumInUse()
int getNumPhysicalOpen()
int getMaxInUse()
int getMaxPhysicalOpen()
long totalGets()
resetStats()int getMaxAllowedPhysicalOpen()
long getMillisWaitedForConnection()
void resetStats()
JDBCLogUtils getLogUtils()
String getDatabaseName()
int getMaxPreparedParameterCount()
String getDatabaseVersion()
String getDatabaseURL()
String getCustomSessionSQL()
String getDatabaseUser()
String getSchemaName()
boolean cannotConnect()
true if a connection the pool is not possible.boolean isDBLogActive()
boolean isDBLogAppendStackTraceActive()
void setDBLog(boolean active)
void setDBLogAppendStackTrace(boolean active)
boolean isReadOnly()
true if the datasoure is read-onlyString getTablePrefix()
DataAccessException translateToDataAccessException(SQLException e)
DataAccessException exactly like it would have been done when using Spring JdbcTemplate.Copyright © 2017 SAP SE. All Rights Reserved.