Class DemoDbConnectionPool
java.lang.Object
net.datenwerke.rs.core.service.internaldb.pool.DemoDbConnectionPool
- All Implemented Interfaces:
ConnectionPoolConfig
-
Constructor Summary
ConstructorsConstructorDescriptionDemoDbConnectionPool(String jdbcUrl, Long datasourceId, String datasourceName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSome dbs, e.g.booleanboolean
-
Constructor Details
-
DemoDbConnectionPool
-
-
Method Details
-
getDriver
- Specified by:
getDriverin interfaceConnectionPoolConfig
-
getUsername
- Specified by:
getUsernamein interfaceConnectionPoolConfig
-
getPassword
- Specified by:
getPasswordin interfaceConnectionPoolConfig
-
getJdbcUrl
- Specified by:
getJdbcUrlin interfaceConnectionPoolConfig
-
isPoolable
public boolean isPoolable()- Specified by:
isPoolablein interfaceConnectionPoolConfig
-
isMightChange
public boolean isMightChange()- Specified by:
isMightChangein interfaceConnectionPoolConfig
-
getProperties
- Specified by:
getPropertiesin interfaceConnectionPoolConfig
-
getLastUpdated
- Specified by:
getLastUpdatedin interfaceConnectionPoolConfig
-
getJdbcProperties
- Specified by:
getJdbcPropertiesin interfaceConnectionPoolConfig
-
getDatasourceId
- Specified by:
getDatasourceIdin interfaceConnectionPoolConfig
-
getDatasourceName
- Specified by:
getDatasourceNamein interfaceConnectionPoolConfig
-
canChangeReadOnlyFlagAfterConnectionCreation
public boolean canChangeReadOnlyFlagAfterConnectionCreation()Description copied from interface:ConnectionPoolConfigSome 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.- Specified by:
canChangeReadOnlyFlagAfterConnectionCreationin interfaceConnectionPoolConfig- Returns:
- true if readOnly flag can be change after connection establishment.
-