|
Hibernate example source code file (Bean.hbm.xml)
The Hibernate Bean.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 package="org.hibernate.test.bytecode"> <class name="Bean"> <id name="someString" type="string"> <generator class="assigned"/> </id> <property name="someLong" type="long" column="S_LONG_1" /> <property name="someInteger" type="int" column="S_INT_1" /> <property name="someDate" type="timestamp" column="S_DATE_1" /> <property name="somelong" type="long" column="S_LONG_2" /> <property name="someint" type="int" column="S_INT_2" /> <property name="someObject" type="serializable" column="S_OBJ_1" /> </class> <class name="ProxyBean" lazy="true"> <id name="someString" type="string"> <generator class="assigned"/> </id> <property name="someLong" type="long" column="S_LONG_1" /> </class> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Bean.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.