Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
5 Cards in this Set
- Front
- Back
Use of <join> element
|
To map properties of one class to several tables that have a one-to-one relationship
|
|
Use of <property> element
|
to declare a persistent JavaBean style property of the class
|
|
Use of <many-to-one> element
|
* To declare an ordinary association to another persistent class.
* The relational model is a many-to-one association * A foreign key in one table is referencing the primary key column(s) of the target table |
|
Use of <one-to-one> element
|
To declare a one-to-one association to another persistent class
|
|
The two varieties of one-to-one associations
|
* primary key associations
> the two table rows share the same primary key value * unique foreign key associations > a foreign key with a unique constraint > e.g. <many-to-one name="person" class="Person" column="PERSON_ID" unique="true" |