1010import org .hamcrest .Matchers ;
1111import org .hibernate .dialect .PostgreSQLDialect ;
1212import org .hibernate .dialect .SQLServerDialect ;
13+ import org .hibernate .dialect .SybaseDialect ;
1314import org .hibernate .engine .jdbc .BlobProxy ;
1415import org .hibernate .envers .Audited ;
1516import org .hibernate .orm .test .envers .BaseEnversJPAFunctionalTestCase ;
@@ -81,6 +82,8 @@ public void testGenerateProxyNoStream() {
8182 comment = "The driver closes the stream, so it cannot be reused by envers" )
8283 @ SkipForDialect (value = SQLServerDialect .class ,
8384 comment = "The driver closes the stream, so it cannot be reused by envers" )
85+ @ SkipForDialect (value = SybaseDialect .class ,
86+ comment = "The driver closes the stream, so it cannot be reused by envers" )
8487 public void testGenerateProxyStream () {
8588 final Path path = Path .of ( Thread .currentThread ().getContextClassLoader ()
8689 .getResource ( "org/hibernate/orm/test/envers/integration/blob/blob.txt" ).getPath () );
@@ -105,7 +108,7 @@ public void testGenerateProxyStream() {
105108 // H2, MySQL, Oracle, SQL Server work this way.
106109 //
107110 //
108- Blob blob = BlobProxy .generateProxy ( stream , 9192L );
111+ Blob blob = BlobProxy .generateProxy ( stream , 1431 );
109112
110113 asset .setData ( blob );
111114 entityManager .persist ( asset );
0 commit comments