|
Hibernate example source code file (Commento.hbm.xml)
The Hibernate Commento.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 entity-name="Commento" table="MARECM"> <id name="mclink" type="long" column="MCLINK"> <generator class="assigned"/> </id> <property name="mcompr" type="java.lang.String" column="MCOMPR" length="1"/> <property name="mcomme" type="java.lang.String" column="MCOMME" length="30"/> <!-- Associations --> <!--many-to-one name="marelo" class="Marelo" column="MCLINK" unique="true"/--> <one-to-one name="marelo" entity-name="Marelo" outer-join="auto" property-ref="commento"/> </class> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Commento.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.