Hi there,
I have a problem with EJB.
I'm calling a module from a message bean. The module itself sets and gets some EntityBeans and therefor gets the appropriate DAO objects through the InitialContext. This works so far.
But if I try to get a member value from one of the EntityBeans classes that is declared as OneToMany and returns a set, this set is always empty. But there is data with which the set could be filled. Retrieving the other properties of the entitiy works.
Any ideas on how to solve this? Thanks in advance!
Is your OneToMany annotation marked as FetchType=LAZY?