Package com.softwaremining.cics
Class CicsDbDecorator
java.lang.Object
com.softwaremining.cics.CicsDbDecorator
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidvoiddelete all records from the table Used in deleteDO- for TS type queuesbooleanused in Rewrite to first check if the record exists ....voidstatic CicsDbDecoratorgetInstance(String theDbResourceName) voidwhat is keyField used for ???intintreadForUpdate(String dataSetName, ISMObject target, ISMObject keyField) voidupdate a record
-
Method Details
-
close
public void close() -
getInstance
-
getTemporaryQueueWrapper
-
readForUpdate
public int readForUpdate(String dataSetName, ISMObject target, ISMObject keyField) throws SQLException - Throws:
SQLException
-
delete
- Throws:
SQLException
-
delete
- Throws:
SQLException
-
deleteAll
delete all records from the table Used in deleteDO- for TS type queues- Parameters:
dataSetName-- Throws:
SQLException
-
update
update a record- Parameters:
dataSetName-target-keyField-- Throws:
SQLException
-
insert
what is keyField used for ???- Parameters:
dataSetName-target-keyField-- Throws:
SQLException
-
read
- Throws:
SQLException
-
freeLocks
public void freeLocks() -
exists
used in Rewrite to first check if the record exists ....- Parameters:
dataSetName-target-keyField-- Returns:
- Throws:
SQLException
-