I already tried that and the log files got huge,
and the memory was
crippled because the application server got stuck
in a loop going back
and forth between the 2 same entities
Value Objects currently have a little(?) deficiency
in which they can't
be used in a circular way. So,
solves the reentrant problem.
Michael
-Original Message-
From: Charlene Mitchell [mailto:charlene_ml;yahoo.co.uk]
Sent: Thursday, November 14, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Value Object reentrant problem
I already tried that and the log files
asking for one
objects Normal value. It
also solves the reentrant problem.
Michael
-Original Message-
From: Charlene Mitchell
[mailto:charlene_ml;yahoo.co.uk]
Sent: Thursday, November 14, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Value Object
-Original Message-
From: Charlene Mitchell [mailto:charlene_ml;yahoo.co.uk]
That's a good suggestion which I didn't think of,
though I'm wondering how you could then get deeper
relations; I can only visualise it working for
something 2 levels deep.
For example if I want to query
-Original Message-
From: Charlene Mitchell [mailto:charlene_ml;yahoo.co.uk]
You are indeed right, an Address might not need a back
link to an Employee - but it also might (e.g. if I
wanted to find all Employees that lived in a certain
town).
Value objects are not intended to do
Charlene Mitchell wrote:
Though the problem is how to get the Addresses in the
first place. Because, in order to avoid the re-entrant
problem I would have to get an EmployeeLight value
object from the DepartmentNormal Value Object. And
because it is Light it means that I have reached a
dead-end
Hello
I'm using Value Objects (an Employee has 1:M
Addresses, so an Address has 1:1 Employee in return)
but when I deploy my bean and call I finder I get the
following exception in my App Server:
javax.ejb.EJBException: Reentrant method call
detected: Employee [.1.]
In the log I see the
--- Charlene Mitchell [EMAIL PROTECTED]
wrote: --- Charlene Mitchell
[EMAIL PROTECTED]
wrote:
Hello
I'm using Value Objects (an Employee has 1:M
Addresses, so an Address has 1:1 Employee in
return)
but when I deploy my bean and call I finder I
get
the
following exception in
Mitchell [mailto:charlene_ml;yahoo.co.uk]
Gesendet: Mittwoch, 13. November 2002 10:50
An: [EMAIL PROTECTED]
Betreff: Re: [Xdoclet-user] Value Object reentrant problem
--- Charlene Mitchell [EMAIL PROTECTED]
wrote: --- Charlene Mitchell
[EMAIL PROTECTED]
wrote:
Hello
I'm using Value
--- Charlene Mitchell [EMAIL PROTECTED] wrote:
--- Charlene Mitchell [EMAIL PROTECTED]
wrote: --- Charlene Mitchell
[EMAIL PROTECTED]
wrote:
Hello
I'm using Value Objects (an Employee has 1:M
Addresses, so an Address has 1:1 Employee in
return)
but when I deploy my bean
--- Charlene Mitchell [EMAIL PROTECTED]
wrote:
--- Charlene Mitchell [EMAIL PROTECTED]
wrote: --- Charlene Mitchell
[EMAIL PROTECTED]
wrote:
Hello
I'm using Value Objects (an Employee has 1:M
Addresses, so an Address has 1:1 Employee in
return)
but when I
Can you post your beans?
Seems taht you created a loop somehow...
regards,
=
Konstantin Priblouda ( ko5tik )Freelance Software developer
http://www.pribluda.de play java games - http://www.yook.de
render charts online - http://www.pribluda.de/povray/
--- Marcus Brito [EMAIL PROTECTED] wrote:
Charlene Mitchell wrote:
I already tried that and the log files got huge,
and the memory was
crippled because the application server got stuck
in a loop going back
and forth between the 2 same entities
Value Objects currently have a
13 matches
Mail list logo