|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.persist.db.DatabaseDataUtils
public final class DatabaseDataUtils
This class collects code fragments which are reusable for managing of the data in database.
| Method Summary | |
|---|---|
static void |
checkUpdateError(java.sql.Connection dbConnection,
java.lang.String strDataName,
java.lang.String strTableName,
int iId,
java.sql.Timestamp tmstpModificationDate)
Method to check if there was a concurrent modification error when update doesn't update anything in the database (updated count == 0). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void checkUpdateError(java.sql.Connection dbConnection,
java.lang.String strDataName,
java.lang.String strTableName,
int iId,
java.sql.Timestamp tmstpModificationDate)
throws OSSException
dbConnection - - database connectionstrDataName - - name of the data objectstrTableName - - name of the tableiId - - id of the data objecttmstpModificationDate - - modification date of the data object
OSSException - - more descriptive exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||