Map "Foreign key constraint violation occurred" Sybase error code to DataIntegrityViolationException [SPR-11097] #15723
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Andrew Clemons opened SPR-11097 and commented
As described in the ASE documentation (http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00729.1500/html/errMessageAdvRes/BABCCECF.htm), a foreign key violation can result in error code 546 or 547. Currently only 547 is mapped.
This results in the exception being incorrectly translated by the fallback translator.
Affects: 3.1.4
Referenced from: commits c3907cd, 2d2226b
Backported to: 3.2.6
The text was updated successfully, but these errors were encountered: