JBPAPP-2862 CLONE -Sybase - EntityManager - unit tests using LOBs fail

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17762 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2009-10-15 03:12:54 +00:00
parent b810e64514
commit 74e72fb756
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import java.util.Map;
import javax.persistence.EntityManager;
import org.hibernate.Hibernate;
import org.hibernate.dialect.Dialect;
import org.hibernate.ejb.test.TestCase;
/**
@ -41,6 +42,11 @@ public class BlobTest extends TestCase {
em.close();
}
@Override
public boolean appliesTo(Dialect dialect) {
return dialect.supportsExpectedLobUsagePattern();
}
public Class[] getAnnotatedClasses() {
return new Class[]{
ImageReader.class