[jboss-user] [EJB 3.0] - Re: Trying to map two fields to the same class
jim.barrows
do-not-reply at jboss.com
Wed Jun 4 01:49:21 EDT 2008
Okay, in essence:
select r from Relationship r
returns both partyRoles correctly.
select pr from PartyRole pr where pr.id = :idOfToPartyRole
returns pr.involvedIn, with the correct relationsihps
select pr from PartyRole pr where pr.id= :idOfFromPartyRole
does not return pr.invovledIn with any relationships.
THis is all very confusing. It's the same code for both sides AND the DATABASE IS CORRECT.
Any ideas why it's only the From Role Type that's doing this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155545#4155545
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155545
More information about the jboss-user
mailing list