HHH-5572 sybase does not support setBlob

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20716 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-09-26 19:12:41 +00:00
parent 09e4531dad
commit 5823732c45
1 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,8 @@ import junit.framework.Test;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.SybaseASE15Dialect;
import org.hibernate.testing.junit.functional.FunctionalTestCase;
import org.hibernate.testing.junit.functional.FunctionalTestClassTestSuite;
@ -51,6 +53,11 @@ public class MixedTest extends FunctionalTestCase {
return new FunctionalTestClassTestSuite( MixedTest.class );
}
@Override
public boolean appliesTo(Dialect dialect) {
return !(dialect instanceof SybaseASE15Dialect);
}
public void testMixedInheritance() {
Session s = openSession( new DocumentInterceptor() );
Transaction t = s.beginTransaction();