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

the column for @id is named id no matter the field name or @column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.2.0
    • None
    • sql
    • ubuntu 64bits, java 1.7.0_01

    Description

      I have an entity with an Id:
      @Entity
      @Table(name = "Domain")
      public class Domain implements java.io.Serializable, Comparable<Domain> {
      ...

      @Id
      @Column(name = "name", unique = true, nullable = false)
      public final String getName()

      { return this.name; }

      ...

      still openjpa seems to be querying for a column id instead of name

      Attachments

        Activity

          People

            curtisr7 Richard G. Curtis
            santiagozky Santiago GarcĂ­a Pimentel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: