Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3301

Groovy annotations not working with Hibernate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6-rc-2
    • 1.6-rc-2, 1.7-beta-1
    • class generator
    • None

    Description

      The attached test script produces the exception:

      aught: org.hibernate.AnnotationException: No identifier specified for entity: OneEntity
      	at TestScript.run(TestScript.groovy:52)
      

      Whilst it works fine in RC1. Seem to be a regression in the annotation processing code

      Attachments

        1. TestScript.groovy
          1 kB
          Graeme Rocher
        2. ivysettings.xml
          1 kB
          Graeme Rocher

        Activity

          People

            blackdrag Jochen Theodorou
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: