Bugs item #978763, was opened at 2004-06-24 10:20
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=978763&group_id=22866

Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Cuong Lam (cuongl)
>Assigned to: Alexey Loubyansky (loubyansky)
Summary: accessing entities in a relationship throws EJBException 

Initial Comment:
We have a 3 or 4 entities related to each other. When 
we try to traverse the entities in the relationship, eg


EntityALocal a = entityahome.findByPrimaryKey (new 
Long(1));
Collection c = a.getRelated ();


If you try to access the fields of the entities in the 
collection, we get:

javax.ejb.EJBException: Could not load field value: 
ticketVersionID

we have traced gone through the jboss source and 
found that to fix the problem could be fixed by changing
the file 
server/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCLoad
EntityCommand.java. In the method boolean execute () 
[the big one], we changed 


// load any preloaded fields into the context
if(readAheadCache.load(ctx))
{
    return true;
}


to:


readAheadCache.load(ctx)


and the exception disappeared.

This problem occurs only in jboss 3.2.4 (not jboss 3.2.3)


----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-06-24 10:46

Message:
Logged In: YES 
user_id=543482

Thanks. This is fixed.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50504

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=978763&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to