Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1147

Support @EmbeddedId in EntityConverter

    Details

      Description

      From http://jboss.org/index.html?module=bb&op=viewtopic&t=105810

      Looks like it might be as simple as changing this code in Entity

      if ( method.isAnnotationPresent(Id.class) || method.isAnnotationPresent(EmbeddedId.class) )

      { identifierGetter = method; }

      }

      if (identifierGetter==null)
      {
      for ( Field field: getBeanClass().getDeclaredFields() )
      {
      if ( field.isAnnotationPresent(Id.class) || field.isAnnotationPresent(EmbeddedId.class) )

      { identifierField = field; }

      }
      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                knaas Keith Naas (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: