Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9536

JPA: take into account hibernate @Columns(*) on attribute column validation

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.0.x
    • 3.3.0.M2
    • hibernate

      Test Case:
      1. Create a database table x with column columnOne
      2. Create enity for the table with attribute columnTwo
      Connect dtp connection and check error near the field appeared (Column 'columnTwo' cannot be resolved on table 'x')
      3. Add @javax.persistence.Column(name="columnOne")
      OBSERVE: error should disappear
      4. change annotation to @org.hibernate.Columns(columns =

      {@Column(name="columnOne")}

      )
      FAILURE: error appear again

            kaers@redhat.com Koen Aers
            dgeraskov Dmitry Geraskov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: