IBM Support

PI24575: USE OF JOINCOLUMN TARGETS TO ANOTHER JOINCOLUMN KEY EXPOSED AS AN ATTRIBUTE WILL CAUSE A CONSTRAINTVIOLATION EXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the following entities, when a simple single entry aCase
    -> aText -> aEvident instances are created, a
    ConstraintViolationException will be observed when this object
    tree is persisted.
    

Local fix

  • No work around at this time
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A JPA persist operation fails with a    *
    *                      ConstraintViolation                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There existed a scenario where, given entities A, B, and C,
    where:
    A and B have a bidirectional *-to-One
    relationship where B is the owner of the relationship
    designating column X as the join column.
    B and C have a bidirectional *-to-one relationship where C is
    the owner of the relationship and designates B's X column as
    the referencedColumnName target.
    The above pattern can, under certain scenarios, produce a
    ConstaintViolation Exception during the running of the
    EntityManager.persist()
    operation.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI24575

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-25

  • Closed date

    2014-12-10

  • Last modified date

    2015-02-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022