From 5ac55ba349fd3c81d3d04e23528a609134db209a Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Tue, 12 Feb 2008 21:00:49 +0000 Subject: [PATCH 1/1] --- .../java/org/wamblee/mythtv/RecordingPk.java | 31 +++++++++++++++++++ mythtv/war/src/main/resources/Channel.hbm.xml | 16 ---------- .../org.wamblee.mythtv.hibernatemappings.xml | 9 ------ 3 files changed, 31 insertions(+), 25 deletions(-) create mode 100644 mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java delete mode 100644 mythtv/war/src/main/resources/Channel.hbm.xml delete mode 100644 mythtv/war/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml 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 index 00000000..d47af6d7 --- /dev/null +++ b/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java @@ -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 index 5b47f5c9..00000000 --- a/mythtv/war/src/main/resources/Channel.hbm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - \ 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 index a8208184..00000000 --- a/mythtv/war/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file -- 2.31.1