java/code/src/com/redhat/rhn/domain/channel/ContentSource.hbm.xml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
New commits:
commit 511b79c6fca970cf5591895e5d6c694e248fe60e
Author: Shannon Hughes <shughes(a)redhat.com>
Date: Wed May 5 15:22:39 2010 -0400
hibernate changes for existing content source objects
diff --git a/java/code/src/com/redhat/rhn/domain/channel/ContentSource.hbm.xml
b/java/code/src/com/redhat/rhn/domain/channel/ContentSource.hbm.xml
index fd8edd2..5cfaa97 100644
--- a/java/code/src/com/redhat/rhn/domain/channel/ContentSource.hbm.xml
+++ b/java/code/src/com/redhat/rhn/domain/channel/ContentSource.hbm.xml
@@ -4,7 +4,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.redhat.rhn.domain.channel.ContentSource"
- table="rhnChannelContentSource" >
+ table="rhnContentSource" >
<id name="id" type="long" column="id">
<meta attribute="scope-set">protected</meta>
@@ -23,13 +23,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
<many-to-one
name="type"
class="com.redhat.rhn.domain.channel.ContentSourceType"
- column="type_id"/>
-
- <many-to-one
- name="channel"
- class="com.redhat.rhn.domain.channel.Channel"
- column="channel_id" />
-
+ column="type_id"/>
</class>
Show replies by date