(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 12 Feb 2008 21:00:49 +0000 (21:00 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 12 Feb 2008 21:00:49 +0000 (21:00 +0000)
mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java [new file with mode: 0644]
mythtv/war/src/main/resources/Channel.hbm.xml [deleted file]
mythtv/war/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml [deleted file]

diff --git a/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java b/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java
new file mode 100644 (file)
index 0000000..d47af6d
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2006 the original author or authors.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */ 
+
+package org.wamblee.mythtv;
+
+import java.util.Date;
+
+import javax.persistence.Column;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+
+/**
+ * 
+ */
+public class RecordingPk {
+    public Channel _channel;
+    public Date _starttime;
+}
diff --git a/mythtv/war/src/main/resources/Channel.hbm.xml b/mythtv/war/src/main/resources/Channel.hbm.xml
deleted file mode 100644 (file)
index 5b47f5c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
-    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
-    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-    
-    <hibernate-mapping default-access="field">
-        
-        <class name="org.wamblee.mythtv.Channel" table="channel" lazy="false">
-            <id name="_id" column="chanid">
-                <generator class="native"/>
-            </id>
-            
-            <property name="_name" column="name"/>
-        </class>
-        
-    </hibernate-mapping>
\ No newline at end of file
diff --git a/mythtv/war/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml b/mythtv/war/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml
deleted file mode 100644 (file)
index a820818..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" 
-               "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-       
-       <bean id="hibernateMappingFiles" class="org.wamblee.mythtv.MythtvHibernateMappings">
-               
-       </bean>
-</beans>
\ No newline at end of file