Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-429

Foreign key constraints are not enforced for CMP 2.x EntityBean

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M2
    • 1.0-M3
    • OpenEJB
    • None

    Description

      The EJB specifications do not require CMP 2.x containers to enforce foreign key constraints. Such a capability seems to be a quality of implementation, that OpenEJB will support.

      An element needs to be added to the OpenEJB DD in order to turn on such a capability. When activated, the flush strategy used under the cover of the transactional cache re-arranges the SQL operations to avoid foreign key constraint conflicts.

      Attachments

        Activity

          People

            gianny Gianny Damour
            gianny Gianny Damour
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: