<id column="PERSONID" name="personId"> <generator class="increment"/> </id>
What is this animal?
is it setting a primary key?
<set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key column="PERSONID"/> <one-to-many class="travel.Trip"/> </set>
is this setting up like a file or list or something that uses like attributes?
taking the data from a column and associating it with a Trip
and it will not allow duplicates?
if so. is there more to know here?