HibernateRelationships |
|
Your trail: |
Difference between
version 83
and
version 82:
At line 49 changed 1 line. |
The many-to-one relationship between entry and category can be established using XDoclet tags. Hibernate relationships can typically be established on either side of the relationship or as a bi-directional one as well. For our purposes,this relationship will be maintained by an extra property and collection held by Entry. The list of possible categories for a weblog entry will eventually be represented as a drop-down on the UI. |
The ''many-to-one'' relationship between __Entry__ and __Category__ can be established using XDoclet tags. Hibernate relationships can be established on either side of the relationship or bi-directionally. For this tutorial, this relationship will be maintained by an extra property and collection held by __Entry__. The list of possible categories for a weblog entry will eventually be represented as a drop-down on the UI. |
At line 53 removed 1 line. |
|
At line 59 changed 1 line. |
* column="category_id" outer-join="true" |
* column="category_id" outer-join="true" |
At line 79 removed 1 line. |
|
Back to HibernateRelationships,
or to the Page History.
|