Hmmm... It seems like the message got screwed up by the Html. Here is a new one:
...
I have a entity bean which have a referance to another entitybean (just a local
variabel: syntax - private Entity Bean = null; - with getters and setters:
public Entity Bean getEntity Bean() - and - public setEntity Bean(...).
The query looks like:
from An Entity Bean e
inner join fetch e.Another Entity Bean
...
Additional information: In the query where An Entity Bean is stated: this is
its whole class name (e.g. some.package.EntityBean) and the fetch is the name
of the variabel.
I have also tried it the other way around with the AnotherEntityBean as parent
bean of AnEntityBean, but then with a ManyToOne relation, but this does not
work as intendet either. With the query syntax stated I get an instance of the
parentbean according to the number of children...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3888463#3888463
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888463
---
SF.Net email is Sponsored by the Better Software Conference EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile Plan-Driven Development * Managing Projects Teams * Testing QA
Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user