|
Hibernate example source code file (Qux.hbm.xml)
The Hibernate Qux.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.Qux" table="quux" proxy="org.hibernate.test.legacy.Qux"> <id name="key" column="qux_key" unsaved-value="0"> <generator class="hilo"/> </id> <many-to-one name="foo" class="org.hibernate.test.legacy.Foo"> <column name="foo" length="36"/> </many-to-one> <property name="deleted"/> <property name="loaded"/> <property name="stored"/> <property name="created"/> <property name="childKey" type="long"/> <property name="stuff"/> <set name="fums" lazy="true"> <key column="qux_id"/> <many-to-many class="org.hibernate.test.legacy.Fum"> <column name="fum_string" length="10" not-null="true"/> <column name="fum_short" not-null="true"/> <column name="fum_date" not-null="true"/> </many-to-many> </set> <list name="moreFums" lazy="true"> <key column="qux_id"/> <index column="posn"/> <one-to-many class="org.hibernate.test.legacy.Fum"/> </list> <many-to-one name="holder" column="HOLDER_NAME" property-ref="name"/> </class> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Qux.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.