From d2c4588c86ed61cdaaa451c17aff5fa87bb700a1 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Thu, 14 Mar 2013 15:51:53 -0400 Subject: [PATCH] HHH-8061 Added a supportsExpectedLobUsagePattern check --- .../test/annotations/lob/SerializableToBlobTypeTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java index f29524d25c..f3ca7b6669 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/lob/SerializableToBlobTypeTest.java @@ -5,6 +5,8 @@ import static org.junit.Assert.assertEquals; import org.hibernate.Session; import org.hibernate.cfg.Configuration; import org.hibernate.mapping.PersistentClass; +import org.hibernate.testing.DialectChecks; +import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.type.SerializableToBlobType; import org.hibernate.type.Type; @@ -15,6 +17,7 @@ import org.junit.Test; * * @author Janario Oliveira */ +@RequiresDialectFeature( DialectChecks.SupportsExpectedLobUsagePattern.class ) public class SerializableToBlobTypeTest extends BaseCoreFunctionalTestCase { @Test public void testTypeDefinition() {