How to map an object to its ID in a table?

Here is my situation:

class Foo{

private Bar bar;

}

How to map the Bar object into a DB table column of its ID on the ORM mapping file?

Thanks very much in advance.

[321 byte] By [vwuvancouvera] at [2007-11-27 4:49:25]
# 1
Never mind. I have solved this issue myself.Message was edited by: vwuvancouver
vwuvancouvera at 2007-7-12 10:02:31 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...