public class TrafConnection extends Object
Constructor and Description |
---|
TrafConnection() |
TrafConnection(String serverWorkerName,
ClientData clientData,
ConnectionContext cc) |
public TrafConnection()
public TrafConnection(String serverWorkerName, ClientData clientData, ConnectionContext cc) throws SQLException, ClassNotFoundException
SQLException
ClassNotFoundException
public void closeTConnection()
public TrafStatement createTrafStatement(String stmtLabel, int sqlStmtType, int stmtHandle) throws SQLException
SQLException
public TrafStatement prepareTrafStatement(String stmtLabel, String sqlString, int sqlStmtType) throws SQLException
SQLException
public TrafStatement closeTrafStatement(String stmtLabel) throws SQLException
SQLException
public TrafStatement getTrafStatement(String stmtLabel, int stmtHandle) throws SQLException
SQLException
public void setDatasource(String datasource)
public void setCatalog(String catalog)
public void setSchema(String schema)
public void setLocation(String location)
public void setUserRole(String userRole)
public void setAccessMode(short accessMode)
public void setAutoCommit(short autoCommit)
public void setQueryTimeoutSec(int queryTimeoutSec)
public void setIdleTimeoutSec(int idleTimeoutSec)
public void setLoginTimeoutSec(int loginTimeoutSec)
public void setTxnIsolationLevel(short txnIsolationLevel)
public void setRowSetSize(short rowSetSize)
public void setDiagnosticFlag(int diagnosticFlag)
public void setProcessId(int processId)
public void setComputerName(String computerName)
public void setWindowText(String windowText)
public void setCtxACP(int ctxACP)
public void setCtxDataLang(int ctxDataLang)
public void setCtxErrorLang(int ctxErrorLang)
public void setCtxCtrlInferNXHAR(short ctxCtrlInferNXHAR)
public void setCpuToUse(short cpuToUse)
public void setCpuToUseEnd(short cpuToUseEnd)
public void setConnectOptions(String connectOptions)
public void setClientVersionList(VersionList clientVersionList)
public void setDialogueId(int dialogueId)
public void setContextOptions1(long contextOptions1)
public void setContextOptions2(long contextOptions2)
public void setSessionName(String sessionName)
public void setClientUserName(String clientUserName)
public void setConnection(Connection conn)
public void setISOMapping(int isoMapping)
public void setTerminalCharset(int termCharset)
public void setEnforceISO(boolean enforceISO)
public String getDatasource()
public String getCatalog()
public String getSchema()
public String getLocation()
public String getUserRole()
public short getAccessMode()
public short getAutoCommit()
public int getQueryTimeoutSec()
public int getIdleTimeoutSec()
public int getLoginTimeoutSec()
public short getTxnIsolationLevel()
public short getRowSetSize()
public int getDiagnosticFlag()
public int getProcessId()
public String getComputerName()
public String getWindowText()
public int getCtxACP()
public int getCtxDataLang()
public int getCtxErrorLang()
public short getCtxCtrlInferNXHAR()
public short getCpuToUse()
public short getCpuToUseEnd()
public String getConnectOptions()
public VersionList getClientVersionList()
public int getDialogueId()
public long getContextOptions1()
public long getContextOptions2()
public String getSessionName()
public String getClientUserName()
public short getClientComponentId()
public short getClientMajorVersion()
public short getClientMinorVersion()
public int getClientBuildId()
public Connection getConnection()
public int getISOMapping(int isoMapping)
public int getTerminalCharset()
public boolean setEnforceISO()
public void commit() throws SQLException
SQLException
public void rollback() throws SQLException
SQLException
public void setAutoCommit(int option) throws SQLException
SQLException
Copyright © 2016. All rights reserved.