public class AbstractJDBCConnection extends AbstractConnection
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_POOL_MAX_SIZE_CONNECTION_CONFIG_PATH |
static int |
DEFAULT_CONNECTION_POOL_MAX_SIZE |
static String |
PASSWORD_CONNECTION_CONFIG_PATH |
static String |
URL_CONNECTION_CONFIG_PATH |
static String |
USER_CONNECTION_CONFIG_PATH |
| Constructor and Description |
|---|
AbstractJDBCConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
org.clawiz.core.common.system.database.Statement |
executeQuery(String sql,
Object... parameters) |
BigDecimal |
executeQueryBigDecimal(String sql,
Object... parameters) |
Date |
executeQueryDate(String sql,
Object... parameters) |
String |
executeQueryString(String sql,
Object... parameters) |
org.clawiz.core.common.system.database.Connection |
getConnection() |
org.clawiz.core.common.system.config.Config |
getConnectionConfig() |
protected String |
getConnectionConfigString(String path) |
protected int |
getConnectionPoolMaxSize() |
protected org.clawiz.core.common.system.database.datasource.DataSource |
getDataSource() |
protected String |
getPassword() |
protected String |
getUrl() |
protected String |
getUsername() |
protected org.clawiz.core.common.system.database.Connection |
newJdbcConnection() |
commit, destroy, executeUpdate, getLogger, getSavepoint, getService, getService, getService, getServiceScope, getSession, init, logDebug, logError, logInfo, notNull, processExtensions, processExtensions, rollback, rollbackToSavepoint, setServiceScope, setSession, throwExceptionpublic static final String URL_CONNECTION_CONFIG_PATH
public static final String USER_CONNECTION_CONFIG_PATH
public static final String PASSWORD_CONNECTION_CONFIG_PATH
public static final String CONNECTION_POOL_MAX_SIZE_CONNECTION_CONFIG_PATH
public static final int DEFAULT_CONNECTION_POOL_MAX_SIZE
public org.clawiz.core.common.system.config.Config getConnectionConfig()
protected String getUrl()
protected String getUsername()
protected String getPassword()
protected int getConnectionPoolMaxSize()
protected org.clawiz.core.common.system.database.datasource.DataSource getDataSource()
protected org.clawiz.core.common.system.database.Connection newJdbcConnection()
public org.clawiz.core.common.system.database.Connection getConnection()
public org.clawiz.core.common.system.database.Statement executeQuery(String sql, Object... parameters)
executeQuery in class org.clawiz.core.common.system.service.Servicepublic BigDecimal executeQueryBigDecimal(String sql, Object... parameters)
executeQueryBigDecimal in class org.clawiz.core.common.system.service.Servicepublic Date executeQueryDate(String sql, Object... parameters)
executeQueryDate in class org.clawiz.core.common.system.service.Servicepublic String executeQueryString(String sql, Object... parameters)
executeQueryString in class org.clawiz.core.common.system.service.Servicepublic void done()
Copyright © 2018. All rights reserved.