Re: Connector/J 8, catching primary key violations
Posted by: Alexander Soklakov
Date: June 26, 2018 01:09PM

Hi Chris,

You can catch java.sql.SQLIntegrityConstraintViolationException. MySQLIntegrityConstraintViolationException was needed because of c/J 5.1 hybrid code, it does nothing specific just extends this java.sql.SQLIntegrityConstraintViolationException.

But you're right, such changed should be documented in the upgrade guide. Could you create a bug report for that?

Thanks,
Alex

Options: ReplyQuote


Subject
Written By
Posted
Re: Connector/J 8, catching primary key violations
June 26, 2018 01:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.