public abstract class DbModelMariadb extends DbModelCommonMariadbMySql
Modifier and Type | Class and Description |
---|---|
protected static class |
DbModelMariadb.DbTypeResolverMariadDb |
DbModelCommonMariadbMySql.DBType
DbModelAbstract.DbTypeResolver
Modifier and Type | Field and Description |
---|---|
protected org.mariadb.jdbc.MariaDbDataSource |
mysqlConnectionPoolDataSource |
protected DbConnectionPool |
pool |
dbTypeResolver
Modifier | Constructor and Description |
---|---|
protected |
DbModelMariadb()
Create the object and initialize if necessary the driver
|
protected |
DbModelMariadb(String dbserver,
String dbuser,
String dbpasswd)
Create the object and initialize if necessary the driver
|
protected |
DbModelMariadb(String dbserver,
String dbuser,
String dbpasswd,
Timer timer,
long delay)
Create the object and initialize if necessary the driver
|
Modifier and Type | Method and Description |
---|---|
Connection |
getDbConnection(String server,
String user,
String passwd) |
DbType |
getDbType() |
void |
releaseResources()
Release any internal resources if needed
|
limitRequest, nextSequence, resetSequence, validConnectionString
closeInternalConnection, currentNumberOfPooledConnections, getDbTypeResolver, validConnection, validConnectionSelect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTables, needUpgradeDb, upgradeDb
protected org.mariadb.jdbc.MariaDbDataSource mysqlConnectionPoolDataSource
protected DbConnectionPool pool
protected DbModelMariadb(String dbserver, String dbuser, String dbpasswd, Timer timer, long delay) throws WaarpDatabaseNoConnectionException
dbserver
- dbuser
- dbpasswd
- timer
- delay
- WaarpDatabaseNoConnectionException
protected DbModelMariadb(String dbserver, String dbuser, String dbpasswd) throws WaarpDatabaseNoConnectionException
dbserver
- dbuser
- dbpasswd
- WaarpDatabaseNoConnectionException
protected DbModelMariadb() throws WaarpDatabaseNoConnectionException
public DbType getDbType()
public Connection getDbConnection(String server, String user, String passwd) throws SQLException
getDbConnection
in interface DbModel
getDbConnection
in class DbModelAbstract
SQLException
public void releaseResources()
DbModel
releaseResources
in interface DbModel
releaseResources
in class DbModelAbstract
Copyright © 2009–2020 Waarp. All rights reserved.