Revision 1 as of 2005-03-22 05:43:34
missing edit-log entry for this revision
converted to 1.6 markup
|No differences found!|
Q: I am new to OJB. I wonder if OJB has something like Hibernate's component mapping, which makes code structure better and reuse easier.
A: Yes that's possible with OJB too!
if your class has an attribute "address" of type Adress, the mapping for the "street" attribute of "address" would look like follows:
- name="adress::street" column="ADR_STREET" jdbc-type="VARCHAR"