public final class AltibaseConnection extends AbstractConnection
| Modifier and Type | Field and Description |
|---|---|
static byte |
EXPLAIN_PLAN_OFF |
static byte |
EXPLAIN_PLAN_ON |
static byte |
EXPLAIN_PLAN_ONLY |
static java.lang.String |
PROP_APPLICATION_NAME |
mIsClosed| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.util.concurrent.Executor aExecutor) |
boolean |
canReUseResultSet() |
protected void |
clearAsyncPrefetchStatement()
Asynchronous fetch ±â´ÉÀÌ µ¿ÀÛ ÁßÀÎ statement ¸¦ ÀúÀåÇÑ´Ù.
|
void |
clearWarnings() |
void |
close() |
void |
commit() |
java.sql.Blob |
createBlob() |
java.sql.Clob |
createClob() |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(int aResultSetType,
int aResultSetConcurrency) |
java.sql.Statement |
createStatement(int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
void |
deregisterFailoverCallback() |
boolean |
getAllowLobNullSelect() |
protected AltibaseStatement |
getAsyncPrefetchStatement()
Asynchronous fetch ±â´ÉÀÌ µ¿ÀÛ ÁßÀÎ statement ¸¦ ¾ò´Â´Ù.
|
boolean |
getAutoCommit() |
boolean |
getBatchSetBytesUseLob() |
java.lang.String |
getCatalog() |
java.lang.String[] |
getCipherSuiteList()
PROJ-2474 °¡´ÉÇÑ ciphersuite ¸®½ºÆ®¸¦ µ¹·ÁÁØ´Ù.
|
java.util.Properties |
getClientInfo() |
java.lang.String |
getClientInfo(java.lang.String aName) |
Altibase.jdbc.driver.AltibaseFailoverServerInfo |
getCurrentFailoverServerInfo() |
java.lang.String |
getDatabaseVersion()
¿¬°áµÈ DBÀÇ ÆÐŰÁö ¹öÀüÀ» ¾ò´Â´Ù.
|
java.lang.String |
getDbTimeZone()
¼¹ö¿¡ ¼³Á¤µÈ TimeZoneÀ» ¾ò´Â´Ù.
|
int |
getHoldability() |
java.sql.DatabaseMetaData |
getMetaData() |
int |
getNetworkTimeout() |
boolean |
getProceduresReturnFunctions() |
int |
getSessionId() |
java.lang.String |
getSessionTimeZone()
Session¿¡ ¼³Á¤µÈ TimeZoneÀ» ¾ò´Â´Ù.
|
int |
getTransactionIsolation() |
int |
getTransTimeout() |
java.util.Map |
getTypeMap() |
java.lang.String |
getURL() |
static java.lang.String |
getURL(java.util.Properties aProps)
DB ¿¬°á Á¤º¸°¡ ´ã±ä Properties¸¦ ÀÌ¿ëÇØ URL stringÀ» ¾ò´Â´Ù.
|
java.lang.String |
getUserName() |
java.sql.SQLWarning |
getWarnings() |
boolean |
isClientSideAutoCommit() |
boolean |
isClosed() |
boolean |
isReadOnly() |
boolean |
isValid(int aTimeout) |
java.lang.String |
nativeSQL(java.lang.String aSql) |
void |
ping()
BUG-39149 handshake ÇÁ·ÎÅäÄÝÀ» ÀÌ¿ëÇØ Ä¿³Ø¼ÇÀÌ À¯È¿ÇÑÁö üũÇÑ´Ù.
|
java.sql.CallableStatement |
prepareCall(java.lang.String aSql) |
java.sql.CallableStatement |
prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency) |
java.sql.CallableStatement |
prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aAutoGeneratedKeys) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int[] aColumnIndexes) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
java.lang.String[] aColumnNames) |
void |
registerFailoverCallback(AltibaseFailoverCallback aFailoverCallback,
java.lang.Object aAppContext) |
void |
registerMessageCallback(AltibaseMessageCallback aMessageCallback)
DB Message ÇÁ·ÎÅäÄÝÀ» ó¸®ÇÒ ÄݹéÀ» µî·ÏÇÑ´Ù.
|
void |
releaseSavepoint(java.sql.Savepoint aSavepoint) |
void |
rollback() |
void |
rollback(java.sql.Savepoint aSavepoint) |
protected boolean |
setAsyncPrefetchStatement(AltibaseStatement aStatement)
Asynchronous fetch ±â´ÉÀÌ µ¿ÀÛ ÁßÀÎ statement ¸¦ ÀúÀåÇÑ´Ù.
|
void |
setAutoCommit(boolean aAutoCommit) |
void |
setCatalog(java.lang.String aCatalog) |
void |
setClientInfo(java.util.Properties aProperties) |
void |
setClientInfo(java.lang.String aName,
java.lang.String aValue) |
void |
setExplainPlan(boolean aUseExplainPlan)
Deprecated.
Replaced by
setExplainPlan(byte) |
void |
setExplainPlan(byte aExplainPlanMode)
Explain Plan Mode¸¦ ¼³Á¤ÇÑ´Ù.
|
void |
setHoldability(int aHoldability) |
void |
setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds) |
void |
setReadOnly(boolean aReadOnly) |
java.sql.Savepoint |
setSavepoint() |
java.sql.Savepoint |
setSavepoint(java.lang.String aName) |
void |
setSessionTimeZone(java.lang.String aTimeZone)
Session TimeZoneÀ» ¹Ù²Û´Ù.
|
void |
setTransactionIsolation(int aLevel) |
void |
setTransTimeout(int aTimeoutSec) |
void |
setTypeMap(java.util.Map map) |
createArrayOf, createNClob, createSQLXML, createStruct, getSchema, setSchemaisWrapperFor, unwrappublic static final byte EXPLAIN_PLAN_OFF
public static final byte EXPLAIN_PLAN_ON
public static final byte EXPLAIN_PLAN_ONLY
public static final java.lang.String PROP_APPLICATION_NAME
public void ping()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getURL()
public static java.lang.String getURL(java.util.Properties aProps)
aProps - DB ¿¬°á Á¤º¸°¡ ´ã±ä Propertiespublic void clearWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getSessionId()
public void commit()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean getAutoCommit()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getCatalog()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getUserName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getHoldability()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getTransactionIsolation()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Map getTypeMap()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isReadOnly()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String nativeSQL(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void releaseSavepoint(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void rollback(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAutoCommit(boolean aAutoCommit)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCatalog(java.lang.String aCatalog)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setHoldability(int aHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setReadOnly(boolean aReadOnly)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint(java.lang.String aName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTransactionIsolation(int aLevel)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTypeMap(java.util.Map map)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isClientSideAutoCommit()
public java.lang.String getDatabaseVersion()
throws java.sql.SQLException
java.sql.SQLException - ÆÐŰÁö ¹öÀü ¹®ÀÚ¿À» ¾ò´Âµ¥ ½ÇÆÐÇßÀ» °æ¿ìpublic int getTransTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTransTimeout(int aTimeoutSec)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getDbTimeZone()
throws java.sql.SQLException
java.sql.SQLException - DB TimeZoneÀ» ¾ò´Âµ¥ ½ÇÆÐÇßÀ» °æ¿ìpublic java.lang.String getSessionTimeZone()
throws java.sql.SQLException
java.sql.SQLException - Session TimeZoneÀ» ¾ò´Âµ¥ ½ÇÆÐÇßÀ» °æ¿ìpublic void setSessionTimeZone(java.lang.String aTimeZone)
throws java.sql.SQLException
aTimeZone - ¹Ù²Ü TimeZone °ªjava.sql.SQLException - TimeZoneÀ» ¹Ù²Ù´Âµ¥ ½ÇÆÐÇßÀ» °æ¿ìpublic void setExplainPlan(byte aExplainPlanMode)
throws java.sql.SQLException
aExplainPlanMode - Explain Plan Mode. ´ÙÀ½ °ª Áß Çϳª:
EXPLAIN_PLAN_OFF,
EXPLAIN_PLAN_ON,
EXPLAIN_PLAN_ONLYjava.lang.IllegalArgumentException - Explain Plan Mode°¡ ¿Ã¹Ù¸£Áö ¾ÊÀ» °æ¿ìjava.sql.SQLException - Explain Plan ¼Ó¼º ¼³Á¤¿¡ ½ÇÆÐÇÑ °æ¿ìpublic void setExplainPlan(boolean aUseExplainPlan)
throws java.sql.SQLException
setExplainPlan(byte)aUseExplainPlan - ExplainPlanÀ» »ç¿ëÇÒÁö ¿©ºÎjava.sql.SQLException - Explain Plan ¼Ó¼º ¼³Á¤¿¡ ½ÇÆÐÇÑ °æ¿ìpublic void registerFailoverCallback(AltibaseFailoverCallback aFailoverCallback, java.lang.Object aAppContext) throws java.sql.SQLException
java.sql.SQLExceptionpublic void deregisterFailoverCallback()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void registerMessageCallback(AltibaseMessageCallback aMessageCallback) throws java.sql.SQLException
aMessageCallback - ÄÝ¹é °´Ã¼java.sql.SQLExceptionpublic java.lang.String[] getCipherSuiteList()
protected boolean setAsyncPrefetchStatement(AltibaseStatement aStatement)
protected void clearAsyncPrefetchStatement()
protected AltibaseStatement getAsyncPrefetchStatement()
public boolean getAllowLobNullSelect()
public boolean canReUseResultSet()
public boolean isValid(int aTimeout)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor aExecutor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClientInfo(java.lang.String aName,
java.lang.String aValue)
throws java.sql.SQLClientInfoException
java.sql.SQLClientInfoExceptionpublic void setClientInfo(java.util.Properties aProperties)
throws java.sql.SQLClientInfoException
java.sql.SQLClientInfoExceptionpublic java.lang.String getClientInfo(java.lang.String aName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Properties getClientInfo()
throws java.sql.SQLException
java.sql.SQLExceptionpublic Altibase.jdbc.driver.AltibaseFailoverServerInfo getCurrentFailoverServerInfo()
public java.sql.Clob createClob()
createClob in interface java.sql.ConnectioncreateClob in class AbstractConnectionpublic java.sql.Blob createBlob()
createBlob in interface java.sql.ConnectioncreateBlob in class AbstractConnectionpublic boolean getProceduresReturnFunctions()
public boolean getBatchSetBytesUseLob()