on 12-07-2009 3:57 PM
Hi,
I'm getting those Exceptions, (deeply nested)
com.sap.dbtech.jdbc.exceptions.BatchUpdateExceptionSapDB: [250] (at 2): Duplicate secondary key:EIC_TYPES_I(input position 3)
com.sap.sql.DuplicateKeyException
instead of
javax.ejb.DuplicateKeyException
is this compliant?
anyway it's ugly ...
Hi Konrad,
to my knowledge, javax.ejb.DuplicateKeyException is an EJB 2.1 exception indicating the atempt to create an entity bean, which already exists.
The com.sap.sql.DuplicateKeyException in an SQLException, which indicates a unique constraint violation on the database.
I hope this helps.
-Adrian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.