|
Hibernate example source code file (Broken.hbm.xml)
The Hibernate Broken.hbm.xml source code<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping default-lazy="false"> <class name="org.hibernate.test.legacy.Broken" table="BROKE"> <!--id name="id" type="long" column="id_"> <generator class="hilo"/> </id--> <composite-id> <key-property name="id"/> <key-property name="otherId"/> </composite-id> <timestamp name="timestamp" column="`timestamp`"/> <joined-subclass name="org.hibernate.test.legacy.Fixed" table="FIX"> <key> <column name="BROKE_ID"/> <column name="OTHER_BROKE_ID"/> </key> <set name="set" lazy="true" inverse="true"> <key> <column name="FIX_ID"/> <column name="OTHER_FIX_ID"/> </key> <one-to-many class="org.hibernate.test.legacy.Broken"/> </set> <property name="list" type="serializable"/> </joined-subclass> </class> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Broken.hbm.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.