Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3.1
-
Component/s: JDO queries
-
Labels:None
-
Number of attachments :
Improved the exception handling in the executeStatement method of KeyGenerators. isDuplicateKeyException method has been removed from persistence factory as we are already checking that in SQLStatementInsertCheck class in case of NoKeyGenerator and AbstractBeforeKeyGenerator. Where as in case of SequenceDuringKeyGenerator and AbstractAfterKeyGenerator, we are just throwing the exception because we cannot check for duplicate values in that case.
Regards, Ahmad