4 ~ Hibernate, Relational Persistence for Idiomatic Java
6 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
7 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
9 <!DOCTYPE hibernate-mapping PUBLIC
10 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
11 "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
13 <hibernate-mapping package="org.hibernate.tutorial.hbm">
15 <class name="Event" table="EVENTS">
16 <id name="id" column="EVENT_ID">
17 <generator class="increment"/>
19 <property name="date" type="timestamp" column="EVENT_DATE"/>
20 <property name="title"/>