Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1837

ElementCollection contains Embeddable with blob value fails in Oracle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.1
    • jdbc
    • None

    Description

      An element collection which contains Embeddable with Lob field fails with Oracle:

      <openjpa-2.1.0-SNAPSHOT-runknown fatal user error> org.apache.openjpa.persistence.ArgumentException: "org.apache.openjpa.persistence.jdbc.annotations.EmbedOwner.embedCollection<element:class org.apache.openjpa.persistence.jdbc.annotations.EmbedValue>" is mapped as embedded, but embedded field "org.apache.openjpa.persistence.jdbc.annotations.EmbedOwner.embedCollection.org.apache.openjpa.persistence.jdbc.annotations.EmbedValue.blob" is not embeddable. Embedded element/key/value types are limited to simple fields and direct relations to other persistent types.

      Attachments

        1. Openjpa-1837-1.patch
          12 kB
          Fay Wang
        2. OPENJPA-1837.patch
          5 kB
          Fay Wang

        Activity

          People

            faywang Fay Wang
            faywang Fay Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: