This content has been marked as final.
Show 3 replies
-
1. Re: Relation persistence
dsundstrom Aug 28, 2002 4:14 PM (in response to traxxoo)I don't understand your question. If you think you found a bug, write a small test case and post it at source forge.
Use the 3.0.2 release. -
2. Re: Relation persistence
traxxoo Aug 29, 2002 4:58 AM (in response to traxxoo)I have 3 entities :
- popup (the code below is in this bean)
- body
- publishedBody
My code:
SimplePopupBody body = getBody();
SimplePopupBody publishedBody = getPublishedPopup();
setPublishedPopup( body );
if (publishedBody != null)
{
try
{
publishedBody.remove();
}
catch(RemoveException re)
{
throw new clicktocontact.application.LoggableEJBException( re );
}
}
Sometimes, when I execute this code after the persistence the relations are set to null :
getBody() returns null
getPublishedPopup() returns null
Thanks for your help -
3. Re: Relation persistence
dsundstrom Aug 29, 2002 11:43 AM (in response to traxxoo)Sometimes they are null... and why are they not allowed to be null?