Hello again,
Kindly forget my last e-mail I was looking to a old page of OJB that
was cached somewere... I think that the
http://db.apache.org/ojb/docu/guides/advanced-technique.html#nested-objects
page wil serve my needs... if it doesn't I will let you know.
Regards,
Gonçalo Luiz
On 1/20/06, Gonçalo Luiz [EMAIL PROTECTED] wrote:
Armin thank you for your reply,
I came to a solution proposed to another OJB mailing poster (Luis
Cruz) that works with me and suggested that I could invoke the
getUniqueValue() in the DomainObject super class... its ugly but it
works fine... and it happens to be a controlled ugliness.
I was now wondering... is it possible to map an object to two distinct
columns of the same table? I mean if I have
class Point
{
int x;
int y;
}
and
B
{
Point p;
String name;
}
Can I use the B table to store the points? I was thinking about a
table with the following schema:
create table B (name varchar, point_x int, point_y int);
I read the rowreader tutorial but it doesn't seem to fit my needs.
Thank you once again!
Best regards,
Gonçalo Luiz
--
Gonçalo Luiz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]