public class JDBCTransaction extends DBTransaction implements JDBCTransactionMBean
AbstractTransaction.Context
Modifier and Type | Field and Description |
---|---|
private String |
connurl |
private String |
dbinit |
private String |
dbname |
static String |
DFLT_JDBC_DB_NAME |
private String |
driver |
private String |
host |
static String |
JDBC_DB_HOST_PROP |
static String |
JDBC_DB_INIT_PROP |
static String |
JDBC_DB_NAME_PROP |
static String |
JDBC_DB_PASS_PROP |
static String |
JDBC_DB_PORT_PROP |
static String |
JDBC_DB_PROTOCOL_PROP |
static String |
JDBC_DB_USER_PROP |
static String |
JDBC_DRIVER_PROP |
static String |
JDBC_PROPS_FILE_PROP |
static String |
JDBC_TRANSACTION_PREFIX |
static String |
JDBC_URL_PROP |
private String |
password |
private String |
path |
private String |
port |
private Properties |
props |
private String |
protocol |
private String |
user |
conn
dir, OOS_STREAM_HEADER, perThreadContext, phase, startTime
logmon
Constructor and Description |
---|
JDBCTransaction() |
Modifier and Type | Method and Description |
---|---|
Properties |
getClientInfo() |
String |
getDBInitStatement() |
String |
getDriver() |
String |
getPropertiesPath() |
String |
getURL() |
String |
getUser() |
protected void |
initDB()
Instantiates the database driver and creates the table if necessary
|
close, commit, delete, getList, getLogThresholdOperation, getPersistenceDir, initRepository, isPersistent, loadByteArray, saveInLog, setPhase, stop
begin, containsOperations, create, create, createByteArray, createByteArray, delete, getOperationCount, getPhase, getPhaseInfo, getStartTime, init, load, load, loadByteArray, release, save, save, save, saveByteArray, saveByteArray, saveByteArray
getBoolean, getInteger, getInteger, getProperty, getProperty, loadProperties, saveProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPhase, getPhaseInfo
getStartTime
public static final String JDBC_TRANSACTION_PREFIX
public static final String JDBC_DRIVER_PROP
public static final String JDBC_URL_PROP
public static final String JDBC_DB_PROTOCOL_PROP
public static final String JDBC_DB_HOST_PROP
public static final String JDBC_DB_PORT_PROP
public static final String JDBC_DB_USER_PROP
public static final String JDBC_DB_PASS_PROP
public static final String JDBC_DB_NAME_PROP
public static final String DFLT_JDBC_DB_NAME
public static final String JDBC_DB_INIT_PROP
public static final String JDBC_PROPS_FILE_PROP
private String driver
private String connurl
private String protocol
private String host
private String port
private String user
private String password
private String dbname
private String dbinit
private String path
private Properties props
protected void initDB() throws IOException
DBTransaction
initDB
in class DBTransaction
IOException
public String getDriver()
getDriver
in interface JDBCTransactionMBean
public String getURL()
getURL
in interface JDBCTransactionMBean
public Properties getClientInfo()
getClientInfo
in interface JDBCTransactionMBean
public String getDBInitStatement()
getDBInitStatement
in interface JDBCTransactionMBean
public String getUser()
getUser
in interface JDBCTransactionMBean
public String getPropertiesPath()
getPropertiesPath
in interface JDBCTransactionMBean
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.