Package com.softwaremining.vendors.ile
Class Db400Container
java.lang.Object
com.softwaremining.containers.AbstractContainerBean
com.softwaremining.sql.AbstractORContainer
com.softwaremining.vendors.ile.Db400Container
- All Implemented Interfaces:
IPersistence,ISQLWrapper,IDb400,AbstractDataObject,ISMBean,ISMDataType,ISMObject
-
Field Summary
Fields inherited from class com.softwaremining.sql.AbstractORContainer
connection, delegateDAO, fileOpened, nativeKeys, openMode, postFixTableNameToImplicitDatabaseKey, resultSet, rowFacade, sequentialKeyGeneration, suppressNextReadCurrent, totalRuntimeFields inherited from interface com.softwaremining.sql.IPersistence
ACCESS_MODE_DYNAMIC, ACCESS_MODE_RANDOM, ACCESS_MODE_SEQUENTIAL, ASCENDING_RECORD_KEY, CONDITION_TYPE_EQUALS, CONDITION_TYPE_GREATER, CONDITION_TYPE_GREATER_OR_EQUALS, CONDITION_TYPE_IGNORE, CONDITION_TYPE_IGNORE_FOR_SQL_LIKE, CONDITION_TYPE_LESS, CONDITION_TYPE_LESS_OR_EQUALS, CONDITION_TYPE_LIKE, CONDITION_TYPE_NO_CONDITION, CONDITION_TYPE_NOT_ASSIGNED, DESCENDING_RECORD_KEY, OPEN_MODE_EXTEND, OPEN_MODE_I_O, OPEN_MODE_INPUT, OPEN_MODE_NOT_OPENED, OPEN_MODE_OUTPUT, STATUS_AT_END, STATUS_CLOSE_FILE_FILE_NOT_OPEN, STATUS_DUP_KEY, STATUS_FAILED_CLOSING, STATUS_INCORRECT_READ_OF_UNOPENED_FILE, STATUS_INCORRECT_RECORDSIZE_REWRITE, STATUS_INSERT_ERR_INAPPROPRIATE_FILE, STATUS_INSERT_ERR_INVALID_KEY, STATUS_LOCK, STATUS_NOT_FOUND, STATUS_OPEN_FILE_FILE_NOT_FOUND, STATUS_REWRITE_WITHOUT_READ, STATUS_SM_FAIL_UNKOWN_REASON, STATUS_SM_NOT_ASSIGNED, STATUS_SUCCESS, UNCERTAIN_OF_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidassignLegacyFileNames(String[] legacyFileNames) This is for benefit of CL.voidfirst()voidvoidlast()voidvoidbooleanreferencesLegacyFile(String fileName) This is for benefit of CL.Native Keys refer to either a.Methods inherited from class com.softwaremining.sql.AbstractORContainer
addRecordKey, assignAccessMode, assignAdditionalKeyPosition, assignAdditionalSQLConditions, assignAdditionalSQLConditions, assignAdditionalSQLForeignKeyCondition, assignAdditionalSQLOrderBy, assignAlternateKey, assignCachedSeekValues, assignChangeGEConditonToLIKE, assignChangeGTEQ2EQForLIKECondition, assignConnection, assignDbDecorator, assignDelegateDAO, assignExpandGTEQSearches, assignFetchDirectionIsForward, assignFetchSize, assignFileName, assignFileOpened, assignGDGCondition, assignGDGProperty, assignGenerate_OrderBy_ForReadStatements, assignIgnoreOriginalKeys, assignIncludeRedefinedFieldsInCRUD, assignKeyIsUnique, assignKeyValue, assignKeyValue, assignKeyValue, assignLastSeekCondition, assignLastSeekConditionLookedForEquality, assignLowerLimitForExpandGTEQSearches, assignOpenMode, assignRecordKey, assignRecordKey, assignRelativeKey, assignResultSet, assignResultSetFetchSize, assignRowFacade, assignSequentialKeyGeneration, assignSQLConditions, assignSQLTableName, assignStatus, assignStatusValue, assignSuppressSeek, assignTableName, assignThrowInvalidKeyException, assignTopRowSelectStrategyCount, assignTopRowSelectStrategyRange, assignTreatAsSQLWrapper, assignUpperLimitForExpandGTEQSearches, clear, clearAdditionalSQLCondition, close, commit, delete, deleteRecord, getForeignKeys, insert, insertRecord, isAllowedToExpandGTEQSearches, isChangeGEConditonToLIKE, isChangeGTEQ2EQForLIKECondition, isFetchDirectionBackward, isFetchDirectionForward, isFileOpened, isIgnoreOriginalKeys, isKept, isKeyUnique, isLastSeekConditionLookedForEquality, isReduceGEorEQ, isSeekSuppressed, isSequentialKeyGeneration, isSuppressNextReadCurrent, next, nextRecord, open, prev, prevRecord, read, readCurrent, readRecord, readWithLock, reduceGEorEQ, releaseResources, releaseResources, restoreResultSet, retreiveLowerLimitForExpandGTEQSearches, retreiveUpperLimitForExpandGTEQSearches, retrieveAccessMode, retrieveAdditionalSearchParameters, retrieveAdditionalSQLCondition, retrieveAdditionalSQLOrderBy, retrieveAscentDescendOrder, retrieveCachedSeekValues, retrieveConnection, retrieveDbDecorator, retrieveDelegateDAO, retrieveFileName, retrieveFirstLevelEntry, retrieveGenerate_OrderBy_ForReadStatements, retrieveImplicitDatabaseKey, retrieveIncludeRedefinedFieldsInCRUD, retrieveLastSeekCondition, retrieveOpenMode, retrieveRecordKey, retrieveRecordKeyValue, retrieveResultSet, retrieveResultSetFetchSize, retrieveRowFacade, retrieveSessionId, retrieveStatusValue, retrieveTableName, retrieveThrowInvalidKeyException, retrieveTopRowSelectStrategyCount, retrieveTopRowSelectStrategyStartingRow, rollback, seek, seek, seekRecord, seekRecord, setLock, unlock, update, updateRecord, useOidTableForKeyGeneration, validateConditionTypeMethods inherited from class com.softwaremining.containers.AbstractContainerBean
assignDefaultValue, assignEbcdicValue, assignEncodedValue, assignExcludeFromSQLTable, assignExemptFromMemRelease, assignHighValues, assignHighValues, assignLowValues, assignLowValues, assignMasterSQLColumnsForArrays, assignObject, assignOverrideSQLTableName, assignSessionId, assignString, assignStringFormatted, assignSubstring, assignValue, assignValue, assignValue, bytesSize, equalsRightTrimmed, fill, fill, getValue, initDefaultValues, initialize, initializeMD, isExcludedFromSQLTable, isExemptFromMemRelease, isFilled, isFilled, isFiller, isResourceAlreadyReleased, resetStructure, retrieveActualLength, retrieveAsString, retrieveAsStringFormatted, retrieveEbcdicValue, retrieveEncodedValue, retrieveField, retrieveField, retrieveFields, retrieveMasterSQLColumnsForArrays, retrieveName, retrieveObject, retrieveSQLObject, retrieveSQLObject, retrieveSQLTableNameOverride, retrieveStorageCellSize, retrieveSubField, retrieveSubstring, retrieveTopLevelField, retrieveValue, retrieveValue, retrieveWrapper, stringValue, toString, trimMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.softwaremining.vendors.ile.IDb400
assignTableName, retrieveTopLevelFieldMethods inherited from interface com.softwaremining.wrappers.ISMBean
assignExemptFromMemRelease, assignSessionId, assignValue, initialize, isExemptFromMemRelease, isResourceAlreadyReleased, resetStructure, retrieveActualLength, retrieveAsString, retrieveField, retrieveField, retrieveTopLevelField, retrieveValue, stringValue
-
Constructor Details
-
Db400Container
-
-
Method Details
-
retrieveNativeKeys
Description copied from class:AbstractORContainerNative Keys refer to either a. any keys set by setRecordKey b. in absence of any keys defined by setRecordKey, then an additional index keys is created by SoftwareMining framework. (This is usually called INDX_FLD_0;)- Specified by:
retrieveNativeKeysin interfaceISQLWrapper- Overrides:
retrieveNativeKeysin classAbstractORContainer
-
addRecordKeyField
-
priorRecord
public void priorRecord() -
first
public void first() -
firstRecord
- Specified by:
firstRecordin interfaceIDb400- Throws:
IOCriticalException
-
last
public void last() -
lastRecord
- Specified by:
lastRecordin interfaceIDb400- Throws:
IOCriticalException
-
assignLegacyFileNames
This is for benefit of CL. Before running the program, the CL can tell the system to swap one file-name with another (from this list). Note the fileNames would have referred to table-names or VIEWS-names. I.e the system wants to replace a TABLE/VIEW-NAME (from this list) with another TABLE/VIEW-NAME - without specifying which DB400 class actually references it. Therefore this class provides a means for identifying which Db400 class was referencing the original Table/View name.- Parameters:
fileNames-
-
referencesLegacyFile
This is for benefit of CL. Before running the program, the CL can tell the system to swap one file-name with another (from this list). Note the fileNames would have referred to table-names or VIEWS-names. I.e the system wants to replace a TABLE/VIEW-NAME (from this list) with another TABLE/VIEW-NAME - without specifying which DB400 class actually references it. Therefore this class provides a means for identifying which Db400 class was referencing the original Table/View name.- Specified by:
referencesLegacyFilein interfaceIDb400- Parameters:
fileNames-
-