com.infoengine.jdbc
Class JDBCObject
java.lang.Object
com.infoengine.jdbc.JDBCObject
- Direct Known Subclasses:
- CreateObject, DeleteObjects, DescribeAttributes, DoSql, ExecuteProcedure, PutBlobStream, PutBulkStream, PutClobStream, QueryAttributes, QueryObjects, SendBlobStream, SendBulkStream, SendClobStream, Transaction, UpdateObjects, ValidateUser
- public class JDBCObject
- extends Object
Method Summary |
(package private) void |
addGroup(Group group)
|
void |
addResultSet(ResultSet set,
Group group)
|
void |
addStructToElement(Object value,
Element element,
String parent)
|
void |
buildSelect()
|
void |
execCommand()
|
protected String |
getGroupoutName()
|
protected String |
getParam(String parmName)
|
protected Vector |
getParams(String paramName)
|
Task |
getTask()
|
protected String |
getWebjectParam(String paramName,
boolean required)
|
void |
initialize(String serviceName,
short dbType,
JdbcContext ctx,
Task rqst,
com.infoengine.log.LogWriter logWriter)
|
protected void |
makeConnection()
|
(package private) String |
removeControlChars(String str)
|
void |
returnBlob()
|
void |
returnBlob(ResultSet rset)
|
void |
run()
|
protected boolean |
setCommitTypeInfo()
|
protected void |
setMessageReturn(String message,
Object[] obj,
int status)
|
String |
sqlColumns()
|
String |
sqlColumns(String arg)
|
String |
sqlDistinct()
|
String |
sqlField(String value)
|
Enumeration |
sqlFields(String value)
|
String |
sqlFileName()
|
Enumeration |
sqlFileNames()
|
String |
sqlOrder()
|
String |
sqlTable()
|
String |
sqlValues(String arg)
|
String |
sqlWhere()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logWriter
com.infoengine.log.LogWriter logWriter
commands
Vector commands
webject
Webject webject
task
Task task
group
protected Group group
rb
String rb
serviceName
String serviceName
userid
protected String userid
password
protected String password
ctx
JdbcContext ctx
conn
Connection conn
autoCommit
protected boolean autoCommit
autoCommitSupported
protected boolean autoCommitSupported
dbType
protected short dbType
isTransaction
protected boolean isTransaction
commitExplicitly
protected boolean commitExplicitly
rsetScrollCapability
protected short rsetScrollCapability
PARAM_ATTRIBUTE
static final String PARAM_ATTRIBUTE
- See Also:
- Constant Field Values
PARAM_CATALOG
static final String PARAM_CATALOG
- See Also:
- Constant Field Values
PARAM_CLASS
static final String PARAM_CLASS
- See Also:
- Constant Field Values
PARAM_DISTINCT
static final String PARAM_DISTINCT
- See Also:
- Constant Field Values
PARAM_FIELD
static final String PARAM_FIELD
- See Also:
- Constant Field Values
PARAM_FILENAME
static final String PARAM_FILENAME
- See Also:
- Constant Field Values
PARAM_MAX_QUERY_SIZE
static final String PARAM_MAX_QUERY_SIZE
- See Also:
- Constant Field Values
PARAM_MIMETYPE
static final String PARAM_MIMETYPE
- See Also:
- Constant Field Values
PARAM_RETURN
static final String PARAM_RETURN
- See Also:
- Constant Field Values
PARAM_SCHEMA
static final String PARAM_SCHEMA
- See Also:
- Constant Field Values
PARAM_SORTBY
static final String PARAM_SORTBY
- See Also:
- Constant Field Values
PARAM_SORTED
static final String PARAM_SORTED
- See Also:
- Constant Field Values
PARAM_SQL
static final String PARAM_SQL
- See Also:
- Constant Field Values
PARAM_TYPE
static final String PARAM_TYPE
- See Also:
- Constant Field Values
PARAM_WHERE
static final String PARAM_WHERE
- See Also:
- Constant Field Values
PARAM_MODE
static final String PARAM_MODE
- See Also:
- Constant Field Values
PARAM_DELIMITER
static final String PARAM_DELIMITER
- See Also:
- Constant Field Values
PARAM_PARAMTYPES
static final String PARAM_PARAMTYPES
- See Also:
- Constant Field Values
PARAM_PARAMVALUES
static final String PARAM_PARAMVALUES
- See Also:
- Constant Field Values
BLOB_REQUEST
static final String BLOB_REQUEST
- See Also:
- Constant Field Values
CLOB_REQUEST
static final String CLOB_REQUEST
- See Also:
- Constant Field Values
NON_ORACLE
public static final short NON_ORACLE
- See Also:
- Constant Field Values
ORACLE_8I
public static final short ORACLE_8I
- See Also:
- Constant Field Values
ORACLE_9I
public static final short ORACLE_9I
- See Also:
- Constant Field Values
DEFAULT
public static final short DEFAULT
- See Also:
- Constant Field Values
TYPE_FORWARD_ONLY
public static final short TYPE_FORWARD_ONLY
- See Also:
- Constant Field Values
getBlobs
protected boolean getBlobs
scratchBuff
protected StringBuffer scratchBuff
JDBCObject
public JDBCObject()
initialize
public void initialize(String serviceName,
short dbType,
JdbcContext ctx,
Task rqst,
com.infoengine.log.LogWriter logWriter)
throws IEAdapterException
- Throws:
IEAdapterException
setMessageReturn
protected void setMessageReturn(String message,
Object[] obj,
int status)
run
public void run()
throws IEAdapterException
- Throws:
IEAdapterException
getTask
public Task getTask()
throws IEAdapterException
- Throws:
IEAdapterException
getGroupoutName
protected String getGroupoutName()
addGroup
void addGroup(Group group)
makeConnection
protected void makeConnection()
throws IEAdapterException
- Throws:
IEAdapterException
execCommand
public void execCommand()
throws IEAdapterException
- Throws:
IEAdapterException
addStructToElement
public void addStructToElement(Object value,
Element element,
String parent)
throws SQLException
- Throws:
SQLException
addResultSet
public void addResultSet(ResultSet set,
Group group)
throws IEAdapterException
- Throws:
IEAdapterException
sqlColumns
public String sqlColumns(String arg)
sqlWhere
public String sqlWhere()
sqlTable
public String sqlTable()
sqlDistinct
public String sqlDistinct()
sqlColumns
public String sqlColumns()
sqlOrder
public String sqlOrder()
sqlValues
public String sqlValues(String arg)
returnBlob
public void returnBlob(ResultSet rset)
throws IEAdapterException
- Throws:
IEAdapterException
returnBlob
public void returnBlob()
throws IEAdapterException
- Throws:
IEAdapterException
sqlFileName
public String sqlFileName()
sqlFileNames
public Enumeration sqlFileNames()
sqlField
public String sqlField(String value)
sqlFields
public Enumeration sqlFields(String value)
getParam
protected String getParam(String parmName)
getParams
protected Vector getParams(String paramName)
getWebjectParam
protected String getWebjectParam(String paramName,
boolean required)
throws IEAdapterException
- Throws:
IEAdapterException
buildSelect
public void buildSelect()
throws IEAdapterException
- Throws:
IEAdapterException
removeControlChars
String removeControlChars(String str)
setCommitTypeInfo
protected boolean setCommitTypeInfo()
throws IEAdapterException
- Throws:
IEAdapterException