|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TableService interface provides the public methods used to access tables services. Each class that includes the TableService interface must implement all of these methods.
Method Summary | |
---|---|
void |
addRecord(Context aContext,
FormatElement aHashtableFormat)
Adds a record into selected database table. |
void |
addRecord(Context aContext,
FormatElement aHashtableFormat,
Vector aColumnsVector)
Adds a record into the selected database table. |
void |
addRecord(Context aContext,
java.lang.String aFormatName)
Adds a record into selected database table. |
void |
addRecord(Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
Adds a record into selected database table. |
void |
addRecord(Hashtable aDataHashtable)
Inserts the data from aDataHashtable as a new row into the table assigned to the table service. |
void |
addRecord(Hashtable aDataHashtable,
Vector aColumnsVector)
Inserts the data from aDataHashtable as a new row into the table assigned to the table service. |
void |
commit()
Commits all changes to the database. |
void |
deleteRecordsMatching(java.lang.String aSearchCondition)
Deletes the records in the database table that match the search criteria. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
FormatElement aHashtableInputFormat)
Builds a data hashtable by calling the format method of the aHashtableInputFormat table formatter, with the context aContext as argument. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
FormatElement aHashtableInputFormat,
FormatElement aHashtableOutputFormat)
Builds a data hashtable by calling the format method of the aHashtableFormat table formatter, with the context aContext as argument. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
FormatElement aHashtableInputFormat,
java.lang.String aHashtableOutputFormatName)
Builds a data hashtable by calling the format method of the aHashtableFormat table formatter, with the context aContext as argument. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
Hashtable dataHashtable,
FormatElement aHashtableOutputFormat)
Executes the stored procedure procedureName with the parameters given in the dataHashtable. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
Hashtable dataHashtable,
java.lang.String aHashtableOutputFormatName)
Executes the stored procedure procedureName with the parameters given in the dataHashtable. |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
java.lang.String aHashtableFormatName)
Instantiates the HashtableFormat defined as aHashtableFormatName and passes it as argument to the method executeProcedure (String, Context, HashtableFormat) . |
void |
executeProcedure(java.lang.String procedureName,
Context aContext,
java.lang.String aHashtableInputFormatName,
java.lang.String aHashtableOutputFormatName)
Instantiates the HashtableFormat defined as aHashtableInputFormatName and passes it as argument to the method executeProcedure (String, Context, HashtableFormat, String). |
void |
executeProcedure(java.lang.String procedureName,
Hashtable dataHashtable)
Executes the stored procedure procedureName with the parameters given in the dataHashtable |
Hashtable |
executeProcedureWithReply(java.lang.String procedureName,
Hashtable dataHashtable)
|
void |
executeSQLQuery(java.lang.String anSQLStatement,
java.lang.String outputFormatName,
Context aContext)
Executes an SQL Query Statement and unformats into aContext the result set using the outputFormatName |
int |
executeSQLUpdate(java.lang.String aSQLStatement)
Executes an SQL Update Statement and returns the update count (the number of registers that have been updated) |
boolean |
getAutoCommit()
Returns the autoCommit attribute value. |
boolean |
getAutoConnect()
Returns the autoConnect attribute value. |
java.lang.String |
getCatalogName()
Returns the catalog attribute value. |
java.lang.String |
getFullTableName()
Returns the fullTableName attribute value. |
java.lang.String |
getPassword()
Returns the password attribute value. |
java.lang.String |
getSchemaName()
Returns the schema attribute value. |
java.lang.String |
getTableName()
Returns the tableName attribute value. |
java.lang.String |
getUser()
Returns the user attribute value. |
boolean |
isPrimaryKeys()
Returns the value of the attribute that decides whether the service has to control the database tables primary keys access or not. |
Vector |
retrieveRecordsMatching(java.lang.String aSearchCondition)
Retrieves all records within the database table that match the Search Condition. |
void |
retrieveRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
FormatElement anOutputFormat)
Retrieves all the records within the database table, which is managed by the table service, and that match the search condition. |
void |
retrieveRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves all the records within the database table, which is managed by the table service, and that match the search condition. |
Vector |
retrieveRecordsMatching(java.lang.String aSearchCondition,
Vector aColumnsVector)
Retrieves the columns in aColumnsVector of all the records within the database table that match the search condition. |
void |
retrieveRecordsMatching(java.lang.String aSearchCondition,
Vector aColumnsVector,
Context aContext,
FormatElement anOutputFormat)
Retrieves the columns in aColumnsVector of all the records within the database table that match the search condition. |
void |
retrieveRecordsMatching(java.lang.String aSearchCondition,
Vector aColumnsVector,
Context aContext,
java.lang.String anOutputFormatName)
Retrieves the columns in aColumnsVector of all the records within the database table that match the search condition. |
void |
rollback()
Rolls back all database changes. |
void |
setAutoCommit(boolean s)
Sets the autoCommit attribute to the boolean provided as an argument. |
void |
setAutoConnect(boolean s)
Sets the autoConnect attribute to the boolean provided as an argument. |
void |
setCatalogName(java.lang.String s)
Sets the catalog attribute to the string provided as argument. |
void |
setPassword(java.lang.String s)
Sets the password attribute to the string provided as an argument. |
void |
setPrimaryKeys(boolean newPrimaryKeys)
Sets the primaryKeys attribute value to newPrimaryKeys. |
void |
setSchemaName(java.lang.String s)
Sets the schemaName attribute to the String provided as an argument. |
void |
setTableName(java.lang.String s)
Sets the tableName attribute to the String provided as an argument. |
void |
setUser(java.lang.String s)
Sets the user attribute to the string provided as an argument. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
FormatElement aHashtableFormat)
Updates all of the table records that match the search condition with the result from formatting the context aContext data using the formatter aHashtableFormat. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
FormatElement aHashtableFormat,
Vector aColumnsVector)
Updates the columns specified in aColumnsVector for the records which match the search condition, with the data provided in the operation context. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName)
Updates all of the table records that match the search condition with the result from formatting the context aContext data using the formatter identified by aFormatName. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Context aContext,
java.lang.String aFormatName,
Vector aColumnsVector)
For all the table records that match the search condition, updates the columns specified in aColumnsVector with the data included in the operation context aContext. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Hashtable aDataHashtable)
Updates all of the table records that match the search condition with the data included in the Hashtable argument. |
int |
updateRecordsMatching(java.lang.String aSearchCondition,
Hashtable aDataHashtable,
Vector aColumnsVector)
For all of the table records that match the search condition, updates the columns specified in aColumnsVector with the data included in Hashtable argument. |
Methods inherited from interface com.ibm.btt.services.jdbcservicesinfra.DatabaseConnect |
---|
connect, disconnect, getDataSourceName, isConnected, isWaitRetry, setDataSourceName, setWaitRetry |
Method Detail |
public void addRecord(Context aContext, FormatElement aHashtableFormat) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEException, DSEInvalidClassException, java.lang.Exception
aContext
- ContextaHashtableFormat
- HashtableFormat
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
DSEInvalidClassException
- if there is an error in the formatting process
java.lang.Exception
public void addRecord(Context aContext, FormatElement aHashtableFormat, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEException, DSEInvalidClassException, java.lang.Exception
aContext
- ContextaHashtableFormat
- HashtableFormat - the table formatteraColumnsVector
- Vector - the vector that contains the columns to be added
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections
DSEInvalidClassException
- if there is an error in the formatting process
java.lang.Exception
public void addRecord(Context aContext, java.lang.String aFormatName) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEException, DSEInvalidClassException, java.io.IOException, java.lang.Exception
aContext
- ContextaFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definition
java.lang.Exception
public void addRecord(Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEException, DSEInvalidClassException, java.io.IOException, java.lang.Exception
aContext
- ContextaFormatName
- java.lang.String - the table formatter nameaColumnsVector
- Vector - the vector that contains the columns to be added
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definition
java.lang.Exception
public void addRecord(Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, DSEException, java.lang.Exception
aDataHashtable
- Hashtable
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.lang.Exception
public void addRecord(Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException, DSEException, java.lang.Exception
aDataHashtable
- Hashtable - the Hashtable that contains the dataaColumnsVector
- Vector the vector that contains the columns to be added
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidRequestException
- if the request is not valid
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections
java.lang.Exception
public void commit() throws DSESQLException, java.lang.Exception
DSESQLException
- if commit fails
java.lang.Exception
public void deleteRecordsMatching(java.lang.String aSearchCondition) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEException, java.lang.Exception
aSearchCondition
- java.lang.String - the search criteria in SQL format
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.lang.Exception
public Hashtable executeProcedureWithReply(java.lang.String procedureName, Hashtable dataHashtable) throws DSEInternalErrorException, DSESQLException, DSEInvalidArgumentException, DSEInvalidRequestException, DSEException, java.io.IOException
DSEInternalErrorException
DSESQLException
DSEInvalidArgumentException
DSEInvalidRequestException
DSEException
java.io.IOException
public void executeProcedure(java.lang.String procedureName, Context aContext, Hashtable dataHashtable, FormatElement aHashtableOutputFormat) throws DSEInvalidArgumentException, DSEInvalidRequestException, DSEInternalErrorException, DSESQLException, DSEInvalidRequestException, DSEException, java.io.IOException
procedureName
- java.lang.StringdataHashtable
- HashtableaContext
- ContextaHashtableOutputFormat
- HashtableFormat
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
public void executeProcedure(java.lang.String procedureName, Context aContext, Hashtable dataHashtable, java.lang.String aHashtableOutputFormatName) throws DSEInternalErrorException, DSESQLException, DSEInvalidArgumentException, DSEInvalidRequestException, DSEException, java.io.IOException
procedureName
- java.lang.StringdataHashtable
- HashtableaContext
- ContextaHashtableOutputFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void executeProcedure(java.lang.String procedureName, Context aContext, FormatElement aHashtableInputFormat) throws DSEInternalErrorException, DSESQLException, DSEInvalidArgumentException, DSEException, DSEInvalidRequestException
procedureName
- java.lang.StringaContext
- ContextaHashtableInputFormat
- HashtableFormat
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections managerpublic void executeProcedure(java.lang.String procedureName, Context aContext, FormatElement aHashtableInputFormat, FormatElement aHashtableOutputFormat) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, DSEInvalidRequestException, DSEException, java.io.IOException
procedureName
- java.lang.StringaContext
- ContextaHashtableInputFormat
- HashtableFormataHashtableOutputFormat
- HashtableFormat
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
public void executeProcedure(java.lang.String procedureName, Context aContext, FormatElement aHashtableInputFormat, java.lang.String aHashtableOutputFormatName) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, DSEInvalidRequestException, DSEException, java.io.IOException
procedureName
- java.lang.StringaContext
- ContextaHashtableInputFormat
- HashtableFormataHashtableOutputFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void executeProcedure(java.lang.String procedureName, Context aContext, java.lang.String aHashtableFormatName) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, DSEException, DSEInvalidRequestException, java.io.IOException
procedureName
- java.lang.StringaContext
- ContextaHashtableFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void executeProcedure(java.lang.String procedureName, Context aContext, java.lang.String aHashtableInputFormatName, java.lang.String aHashtableOutputFormatName) throws DSEInvalidArgumentException, DSEInternalErrorException, DSESQLException, DSEInvalidRequestException, DSEException, java.io.IOException
procedureName
- java.lang.StringaContext
- ContextaHashtableInputFormatName
- java.lang.StringaHashtableOutputFormatName
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void executeProcedure(java.lang.String procedureName, Hashtable dataHashtable) throws DSESQLException, DSEInvalidRequestException, DSEInternalErrorException, DSEException
procedureName
- java.lang.StringdataHashtable
- Hashtable
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSEException
- if an exception is thrown when calling the pool of connections managerpublic void executeSQLQuery(java.lang.String anSQLStatement, java.lang.String outputFormatName, Context aContext) throws DSEInternalErrorException, DSESQLException, DSEInvalidArgumentException, DSEInvalidRequestException, DSEException, DSEObjectNotFoundException, java.io.IOException
anSQLStatement
- java.lang.StringoutputFormatName
- java.lang.StringaContext
- Context
DSEInvalidRequestException
- if the request is not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
DSEObjectNotFoundException
- if there is an error in the unformatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definition
DSEInvalidArgumentException
public int executeSQLUpdate(java.lang.String aSQLStatement) throws DSESQLException, DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSEException
aSQLStatement
- java.lang.String
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEInvalidRequestException
- if the request is not valid
DSEException
- if an exception is thrown when calling the pool of connections managerpublic boolean getAutoCommit() throws DSEException
DSEException
public boolean getAutoConnect() throws DSEException
DSEException
public java.lang.String getCatalogName() throws DSEException
DSEException
public java.lang.String getFullTableName() throws DSEException
DSEException
public java.lang.String getPassword() throws DSEException
DSEException
public java.lang.String getSchemaName() throws DSEException
DSEException
public java.lang.String getTableName() throws DSEException
DSEException
public java.lang.String getUser() throws DSEException
DSEException
public boolean isPrimaryKeys() throws DSEException
DSEException
public Vector retrieveRecordsMatching(java.lang.String aSearchCondition) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException
aSearchCondition
- java.lang.String - the search condition in SQL format
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEException
- if an exception is thrown when calling the pool of connections managerpublic void retrieveRecordsMatching(java.lang.String aSearchCondition, Context aContext, FormatElement anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- Context - the context to where the retrieved records will be unformattedanOutputFormat
- HashtableIndexedCollectionFormat - the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void retrieveRecordsMatching(java.lang.String aSearchCondition, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- Context - the context to where the retrieved records will be unformattedanOutputFormatName
- java.lang.String - the name of the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic Vector retrieveRecordsMatching(java.lang.String aSearchCondition, Vector aColumnsVector) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- Vector - the vector that contains the columns to be retrieved
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEException
- if an exception is thrown when calling the pool of connections managerpublic void retrieveRecordsMatching(java.lang.String aSearchCondition, Vector aColumnsVector, Context aContext, FormatElement anOutputFormat) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- Vector - the vector that contains the columns to be retrievedaContext
- Context - the context to where the retrieved records will be unformattedanOutputFormat
- HashtableIndexedCollectionFormat - the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
public void retrieveRecordsMatching(java.lang.String aSearchCondition, Vector aColumnsVector, Context aContext, java.lang.String anOutputFormatName) throws DSEInternalErrorException, DSEInvalidRequestException, DSEInvalidArgumentException, DSESQLException, DSEException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataColumnsVector
- Vector - the vector that contains the columns to be retrievedaContext
- Context - the context to where the retrieved records will be unformattedanOutputFormatName
- java.lang.String - the name of the formatter to unformat the retrieved records
DSEInvalidRequestException
- if the request is not valid
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQL Exception is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic void rollback() throws DSESQLException, DSEException
DSESQLException
- when rollback fails
DSEException
public void setAutoCommit(boolean s) throws DSEException
s
- boolean
DSEException
public void setAutoConnect(boolean s) throws DSEException
s
- boolean
DSEException
public void setCatalogName(java.lang.String s) throws DSEException
s
- java.lang.String
DSEException
public void setPassword(java.lang.String s) throws DSEException
s
- java.lang.String
DSEException
public void setPrimaryKeys(boolean newPrimaryKeys) throws DSEException
newPrimaryKeys
- boolean
DSEException
public void setSchemaName(java.lang.String s) throws DSEException
s
- String
DSEException
public void setTableName(java.lang.String s) throws DSEException
s
- java.lang.String
DSEException
public void setUser(java.lang.String s) throws DSEException
s
- java.lang.String
DSEException
public int updateRecordsMatching(java.lang.String aSearchCondition, Context aContext, FormatElement aHashtableFormat) throws DSEInvalidRequestException, DSEException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.StringaContext
- ContextaHashtableFormat
- HashtableFormat
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
DSESQLException
- if an SQLException is caughtpublic int updateRecordsMatching(java.lang.String aSearchCondition, Context aContext, FormatElement aHashtableFormat, Vector aColumnsVector) throws DSEInvalidRequestException, DSEException, DSEInvalidArgumentException, DSESQLException
aSearchCondition
- java.lang.StringaContext
- ContextaHashtableFormat
- HashtableFormataColumnsVector
- Vector - the vector that contains the columns to be updated
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEException
- if an exception is thrown when calling the pool of connections manager
DSESQLException
- if an SQLException is caughtpublic int updateRecordsMatching(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEException, DSEInvalidClassException, java.io.IOException
aSearchCondition
- java.lang.StringaContext
- ContextaFormatName
- java.lang.String
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic int updateRecordsMatching(java.lang.String aSearchCondition, Context aContext, java.lang.String aFormatName, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException, DSEException, DSEInvalidClassException, java.io.IOException
aSearchCondition
- java.lang.String - the search condition in SQL formataContext
- ContextaFormatName
- java.lang.String - the name of the format to be used to get the new data from the contextaColumnsVector
- - a vector that contains the name of the columns to be updated
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidRequestException
- if the request is not valid
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
DSEInvalidClassException
- if there is an error in the formatting process
java.io.IOException
- if there is an error instanciating the formatter from its external definitionpublic int updateRecordsMatching(java.lang.String aSearchCondition, Hashtable aDataHashtable) throws DSEInvalidRequestException, DSEInternalErrorException, DSEInvalidArgumentException, DSESQLException, DSEException
aSearchCondition
- java.lang.String - the search condition in SQL formataDataHashtable
- Hashtable
DSEInvalidArgumentException
- if an argument is not valid
DSEInvalidRequestException
- if the input parameters are not valid
DSEInternalErrorException
- if an internal program error occurs
DSESQLException
- is an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections managerpublic int updateRecordsMatching(java.lang.String aSearchCondition, Hashtable aDataHashtable, Vector aColumnsVector) throws DSEInvalidArgumentException, DSEInternalErrorException, DSEInvalidRequestException, DSESQLException, DSEException
aSearchCondition
- java.lang.String - the search condition in SQL formataDataHashtable
- HashtableaColumnsVector
- - a vector that contains the name of the columns to be updated
DSEInvalidArgumentException
- if the argument(s) is(are) not valid
DSEInternalErrorException
- if an internal program error occurs
DSEInvalidRequestException
- if the request is not valid
DSESQLException
- if an SQLException is caught
DSEException
- if an exception is thrown when calling the pool of connections manager
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |