hi, using a MySQL database, i'm unable to catch a KeyConstraintViolatedException, that should be thrown by JdbcAccessImpl (in method executeInsert). This is not due to a bug in OJB, but due to the fact that MySQL uses code S1009 instead of 23000 as its error code for constraint violations. In class JdbcAccessImpl, this errorcode is hardcoded as a constant SQL_STATE_KEY_VIOLATED. Are there any plans to refactor the declarational part of this constant into using platform specific codes, declared in the platform specific classes like PlatformMySQLImpl which may then be used within JdbcAccessImpl? Roger Janssen iBanx
************************************************************************* The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed.You should not copy, disclose or distribute this communication without the authority of iBanx bv. iBanx bv is neither liable for the proper and complete transmission of the information has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.
