java/code/src/com/redhat/rhn/domain/errata/impl/PublishedBug.hbm.xml | 3 +--
java/code/src/com/redhat/rhn/domain/errata/impl/UnpublishedBug.hbm.xml | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 51b8596b9cf1394116e39dbbf7c166c78a379280
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Thu Mar 1 13:05:23 2012 +0100
remove hibernate not-null constraint on bug.summary
this causes troubles, when cloning Red Hat errata, where bug.summary isn't filled
diff --git a/java/code/src/com/redhat/rhn/domain/errata/impl/PublishedBug.hbm.xml
b/java/code/src/com/redhat/rhn/domain/errata/impl/PublishedBug.hbm.xml
index 85094cd..ee7220f 100644
--- a/java/code/src/com/redhat/rhn/domain/errata/impl/PublishedBug.hbm.xml
+++ b/java/code/src/com/redhat/rhn/domain/errata/impl/PublishedBug.hbm.xml
@@ -12,8 +12,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
<key-property name="id" column="bug_id"
type="long"/>
</composite-id>
- <property name="summary" column="summary"
type="string" length="4000"
- not-null="true"/>
+ <property name="summary" column="summary"
type="string" length="4000"/>
<property name="url" column="href" type="string"
length="255" />
<property name="created" column="created"
type="timestamp"
insert="false" update="false"/>
diff --git a/java/code/src/com/redhat/rhn/domain/errata/impl/UnpublishedBug.hbm.xml
b/java/code/src/com/redhat/rhn/domain/errata/impl/UnpublishedBug.hbm.xml
index b1e4a4d..f50788d 100644
--- a/java/code/src/com/redhat/rhn/domain/errata/impl/UnpublishedBug.hbm.xml
+++ b/java/code/src/com/redhat/rhn/domain/errata/impl/UnpublishedBug.hbm.xml
@@ -12,8 +12,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
<key-property name="id" column="bug_id"
type="long"/>
</composite-id>
- <property name="summary" column="summary"
type="string" length="4000"
- not-null="true"/>
+ <property name="summary" column="summary"
type="string" length="4000"/>
<property name="url" column="href" type="string"
length="255" />
<property name="created" column="created"
type="timestamp"
insert="false" update="false"/>
Show replies by date