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.
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.