- 09 Mai
For starters-to-many contacts you could eliminate it form
optimistic-lock (recommended – defaults so you can genuine ): determine one transform to the county of range leads to increments of one’s running entity’s type.
mutable (elective – non-payments so you’re able to true ): a property value not true determine the elements of the new range never ever changes. This enables having slight performance optimization in some cases.
Shortly after examining the basic mapping off choices in the preceding sentences we will today notice details for example actual mapping factors, noted series and collections useful systems.
seven.2.step one. Collection overseas techniques
On the database level collection instances are distinguished by the foreign key of the entity that owns the collection. This foreign key is referred to as the collection key column , or columns, of the collection table. The collection key column is mapped by the annotation respectively the
There was good nullability limitation to your international secret column. For most selections, this is certainly meant. To possess unidirectional you to-to-of many contacts, the latest international trick line try nullable by default, InstantHookups promosyon kodu so you could must specify
7.2.2. Listed choices
In this posting i’ve a closer during the indexed collections List and you may Map the way the their index can be mapped in Hibernate. (mehr …)Read more