This content has been marked as final.
Show 4 replies
-
1. Re: using value objects with CMP 2.0 entity beans
dries.demoor Aug 15, 2003 1:49 PM (in response to bbd66)Hi,
If I understand well you want to call a method on your entity bean that creates the corresponding ValueObject and returns it.
You only have to call the abstract get methods and pass them to the ValueObject.
This should work.
Regards
D -
2. Re: using value objects with CMP 2.0 entity beans
dries.demoor Aug 15, 2003 1:52 PM (in response to bbd66)Didn't see the attached file. But what you did is what I descirbed. Are you saying that the attached code
isn't working? -
3. Re: using value objects with CMP 2.0 entity beans
bbd66 Aug 18, 2003 5:33 PM (in response to bbd66)Thanks for the reply.
yep...I can't get the code to work. I get Deployment Exceptions regarding abstract methods. I will give you an exact description if you need one.
Thanks,
Dave -
4. Re: using value objects with CMP 2.0 entity beans
bbd66 Aug 19, 2003 10:59 AM (in response to bbd66)I also run into the problem where I make the entity class abstract but then can't make the method where I populate the value object abstract. It seems to be a vicious loop....
Any ideas?