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

Set default-access type to "field" to prevent org.hibernate.PropertyNotFoundExcetion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.1, 3.2.x
    • 3.1.0.CR2
    • hibernate
    • None
    • Workaround Exists
    • Hide

      set acess="field" to the fields which calls the exception.

      Show
      set acess="field" to the fields which calls the exception.

      When there is no getter or setter in the class an exception occurs:
      org.hibernate.PropertyNotFoundException: Could not find a setter for property id in class ...
      To prevent this use defauilt-acess="field" in the mapping in New Hibernate Mapping file wizard.

              jpeterka_jira Jiri Peterka (Inactive)
              dgeraskov Dmitry Geraskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: