ejb@glassfish.java.net

Re: Trying to connect to Remote ession Bean from JSF backing bean

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Fri, 17 Nov 2006 15:18:52 +0100

On Fri, Nov 17, 2006 at 03:10:24PM +0100, To ejb_at_glassfish.dev.java.net wrote:
> Interestingly enough, the error doesn't occur where I comment out the userroleId
> member and its annotations, getters and setters and also the cultiUserCollection
> member and its annotations, getters and setters! It looks like something is
> wrong with my mapping. This was generated by NetBeans based on the tables I have
> in my Oracle XE database. Any idea what's going on?

OK when I only comment out the cultiUserCollection member etc in the
CultiUserRole class but leave the userroleId member etc in CultiUser
uncommented, everything still works. This is lucky, since I am only interested
in what roles a user has, and not in what users have a certain role. It is still
intriguing, however, why the cultiUserCollection mapping gives an error.


Kind regards,

Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"