By: Dorris Emailed: 1696 times Printed: 2188 times
Hibernate does not generate DDL with triggers. It is for legacy schemas only.
<id name="id" type="long" column="person_id">
In the above example, there is a unique valued property named socialSecurityNumber. It is defined by the class, as a natural key and a surrogate key named person_id, whose value is generated by a trigger.
Be the first one to add a comment
Most Viewed Articles (in Hibernate )
Most Emailed Articles (in Hibernate)