diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerManyToOneFetchModeJoinWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerManyToOneFetchModeJoinWhereTest.java index 53abe44d9b..170ba0ef77 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerManyToOneFetchModeJoinWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerManyToOneFetchModeJoinWhereTest.java @@ -131,7 +131,7 @@ public class EagerManyToOneFetchModeJoinWhereTest extends BaseNonConfigCoreFunct @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id @GeneratedValue diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereDontUseClassWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereDontUseClassWhereTest.java index 060f3758f3..99cb3567ba 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereDontUseClassWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereDontUseClassWhereTest.java @@ -199,7 +199,7 @@ public class EagerToManyWhereDontUseClassWhereTest extends BaseNonConfigCoreFunc @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereTest.java index fc4074952f..ec22446139 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereTest.java @@ -194,7 +194,7 @@ public class EagerToManyWhereTest extends BaseNonConfigCoreFunctionalTestCase { @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereUseClassWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereUseClassWhereTest.java index c584d1a29a..18738095ea 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereUseClassWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/EagerToManyWhereUseClassWhereTest.java @@ -199,7 +199,7 @@ public class EagerToManyWhereUseClassWhereTest extends BaseNonConfigCoreFunction @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereDontUseClassWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereDontUseClassWhereTest.java index e7e8eb4584..641cde432b 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereDontUseClassWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereDontUseClassWhereTest.java @@ -199,7 +199,7 @@ public class LazyToManyWhereDontUseClassWhereTest extends BaseNonConfigCoreFunct @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereTest.java index f6c08f0649..eaf0b78231 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereTest.java @@ -193,7 +193,7 @@ public class LazyToManyWhereTest extends BaseNonConfigCoreFunctionalTestCase { @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereUseClassWhereTest.java b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereUseClassWhereTest.java index d87036901f..4326498ea5 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereUseClassWhereTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/where/annotations/LazyToManyWhereUseClassWhereTest.java @@ -199,7 +199,7 @@ public class LazyToManyWhereUseClassWhereTest extends BaseNonConfigCoreFunctiona @Entity(name = "Category") @Table(name = "CATEGORY") - @Where(clause = "inactive = 0") + @Where(clause = "not inactive") public static class Category { @Id private int id; diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeJoinWhereTest.hbm.xml b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeJoinWhereTest.hbm.xml index 7cd816215c..46c7ccfe9e 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeJoinWhereTest.hbm.xml +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeJoinWhereTest.hbm.xml @@ -28,7 +28,7 @@ - + diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeSelectWhereTest.hbm.xml b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeSelectWhereTest.hbm.xml index 662d16697d..af77975d6a 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeSelectWhereTest.hbm.xml +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerManyToOneFetchModeSelectWhereTest.hbm.xml @@ -28,7 +28,7 @@ - + diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerToManyWhere.hbm.xml b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerToManyWhere.hbm.xml index 2e2455d078..d8bc42a645 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerToManyWhere.hbm.xml +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/EagerToManyWhere.hbm.xml @@ -39,7 +39,7 @@ - + diff --git a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyToManyWhere.hbm.xml b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyToManyWhere.hbm.xml index a76c02c34c..4c65649a72 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyToManyWhere.hbm.xml +++ b/hibernate-core/src/test/java/org/hibernate/test/where/hbm/LazyToManyWhere.hbm.xml @@ -39,7 +39,7 @@ - +