Hi Kevin,
Kevin Viet wrote:
Hello guys!!
I have a little question about how OJB can integrate the business logic
of an application
Imagine I have a class A that is related to some persistent classes with
some methods getX setX, getY setY where X and Y are persistence classes
but the class A is not persistent it's just a kind of session bean. Is
there solutions to use the OJB persistence mechansim (load and update) X
and Y classes without class A to be persistent
No problem!
getX()
could look like this:
public X getX()
{
....
X result = (X) getBroker().getObjectByQuery(...);
return result;
}
cheers,
Thomas
If u got an idea ...
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>