Package net.datenwerke.dbpool.config
Interface ConnectionPoolConfig
- All Known Implementing Classes:
ConnectionPoolConfigImpl,DemoDbConnectionPool
public interface ConnectionPoolConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSome dbs, e.g.booleanboolean
-
Method Details
-
getDriver
String getDriver() -
getUsername
String getUsername() -
getPassword
String getPassword() -
getJdbcUrl
String getJdbcUrl() -
getDatasourceId
Long getDatasourceId() -
getDatasourceName
String getDatasourceName() -
isPoolable
boolean isPoolable() -
isMightChange
boolean isMightChange() -
getProperties
Properties getProperties() -
getLastUpdated
Date getLastUpdated() -
getJdbcProperties
Properties getJdbcProperties() -
canChangeReadOnlyFlagAfterConnectionCreation
boolean canChangeReadOnlyFlagAfterConnectionCreation()Some dbs, e.g. SQLite, cannot change the readOnly flag after establishing a connection. This has to be set before the connection is created, e.g. with open_mode=1 JDBC property.- Returns:
- true if readOnly flag can be change after connection establishment.
-