4 ~ Hibernate, Relational Persistence for Idiomatic Java
6 ~ Copyright (c) 2010, Red Hat Inc. or third-party contributors as
7 ~ indicated by the @author tags or express copyright attribution
8 ~ statements applied by the authors. All third-party contributions are
9 ~ distributed under license by Red Hat Inc.
11 ~ This copyrighted material is made available to anyone wishing to use, modify,
12 ~ copy, or redistribute it subject to the terms and conditions of the GNU
13 ~ Lesser General Public License, as published by the Free Software Foundation.
15 ~ This program is distributed in the hope that it will be useful,
16 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
20 ~ You should have received a copy of the GNU Lesser General Public License
21 ~ along with this distribution; if not, write to:
22 ~ Free Software Foundation, Inc.
23 ~ 51 Franklin Street, Fifth Floor
24 ~ Boston, MA 02110-1301 USA
27 <!DOCTYPE hibernate-mapping PUBLIC
28 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
29 "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
31 <hibernate-mapping package="org.hibernate.tutorial.hbm">
33 <class name="Event" table="EVENTS">
34 <id name="id" column="EVENT_ID">
35 <generator class="increment"/>
37 <property name="date" type="timestamp" column="EVENT_DATE"/>
38 <property name="title"/>