[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3466) @UserRoles only works when using one ManyToMany-Relation instead of two OneToMany-Relations

nimo stephan (JIRA) jira-events at lists.jboss.org
Fri Sep 26 12:03:20 EDT 2008


@UserRoles only works when using one ManyToMany-Relation instead of two OneToMany-Relations
-------------------------------------------------------------------------------------------

                 Key: JBSEAM-3466
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3466
             Project: Seam
          Issue Type: Quality Risk
          Components: Security
    Affects Versions: 2.1.0.BETA1
         Environment: EJB 3.0, JBOSS 4.2, SEAM 2.1, RichFaces (3.2) 
            Reporter: nimo stephan
            Priority: Minor


@UserRoles only works in ManyToMany-Relation.

If we provide two @OneToMany-relations instead of one @ManyToMany, then @UserRoles does not work!

The UserRolesProperty returns the UserRoles-Instance instead of the Roles-Instance. 

However, when having  additional attributes in UserRoles we should better use two @OneToMany-Relations - 
but then @UserRoles does not work.

As Shane said:
"I don't think that we currently support cross reference tables in this manner, although we should. "

Yes, it would be fine:-)

thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list