|
Hibernate example source code file (entitynames.hbm.xml)
The Hibernate entitynames.hbm.xml source code<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class lazy="true" entity-name="EntityHasName" table="F5_ENTITY_HASNAME"> <id name="id" column="ID" type="long"> <generator class="native"/> </id> <property name="attrName" type="string"> <column name="NAME"/> </property> </class> <joined-subclass lazy="true" entity-name="EntityCompany" table="F5_ENTITY_COMPANY" extends="EntityHasName"> <key column="REF_ID"/> <many-to-one name="parent" entity-name="EntityHasName"/> </joined-subclass> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate entitynames.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.