Skip to content

Map "Foreign key constraint violation occurred" Sybase error code to DataIntegrityViolationException [SPR-11097] #15723

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions