You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Andrey Shulinskiy <as...@novator.com> on 2005/08/09 03:01:38 UTC

OJB question - "reference counter" field

Hi there!

I am quite new to OJB and I'd really appreciate if anybody could help me
with the following issue.

The case is rather simple:
tables A and B have the 1 - N relationship. And I want the objects of the
class A have not the collection of the related objects B but just the number
of such objects:

class A {
...
	private Integer bCounter;
...
}

So the questions are - is it possible in OJB and if it is then how could it
be done? Is it just some kind of mapping ore something more complicated?
Thanks.

Yours sincerely,
Andrey Shulinskiy.


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org