|
Hibernate example source code file (ManyToOneEntity.hbm.xml)
The Hibernate ManyToOneEntity.hbm.xml source code<?xml version="1.0"?> <hibernate-mapping package="org.hibernate.metamodel.binding" xmlns="http://www.hibernate.org/xsd/hibernate-mapping" xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping hibernate-mapping-4.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <class name="ManyToOneEntity"> <id name="id"> <generator class="increment"/> </id> <property name="name"/> <many-to-one name="simpleEntity"/> </class> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate ManyToOneEntity.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.