Debian Codegraph @

src/test/resources/hibernate-config/domain/HolidayCalendar.hbm.xml

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
5
6 <hibernate-mapping>
7
8 <class name="net.sf.ehcache.hibernate.domain.HolidayCalendar" table="CALENDAR" lazy="false">
9 <id name="id" column="CALENDAR_ID">
10 <generator class="native" />
11 </id>
12
13 <map name="holidays" table="CALENDAR_HOLIDAYS" lazy="false">
14 <key column="CALENDAR_ID" />
15 <map-key column="hol_date" type="date"/>
16 <element column="hol_name" type="string"/>
17 </map>
18
19 </class>
20
21 </hibernate-mapping>