Removed the dependence on JpaTemplate
[utils] / mythtv / war / src / main / resources / Recording.hbm.xml
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 default-access="field">
7         
8         <class name="org.wamblee.mythtv.Recording" table="recorded" lazy="false">
9           
10             <composite-id>
11                 <key-many-to-one name="_channel" column="chanid" class="org.wamblee.mythtv.Channel"/>
12                 <key-property name="_starttime" column="starttime"></key-property>
13             </composite-id>
14           
15             <property name="_basename" column="basename"/>
16             <property name="_progstart" column="progstart"/>
17             <property name="_title" column="title"/>
18             <property name="_subtitle" column="subtitle"/>
19             <property name="_filesize" column="filesize"/>
20         </class>
21         
22     </hibernate-mapping>