10
10
import org .hamcrest .Matchers ;
11
11
import org .hibernate .dialect .PostgreSQLDialect ;
12
12
import org .hibernate .dialect .SQLServerDialect ;
13
+ import org .hibernate .dialect .SybaseDialect ;
13
14
import org .hibernate .engine .jdbc .BlobProxy ;
14
15
import org .hibernate .envers .Audited ;
15
16
import org .hibernate .orm .test .envers .BaseEnversJPAFunctionalTestCase ;
@@ -81,6 +82,8 @@ public void testGenerateProxyNoStream() {
81
82
comment = "The driver closes the stream, so it cannot be reused by envers" )
82
83
@ SkipForDialect (value = SQLServerDialect .class ,
83
84
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" )
84
87
public void testGenerateProxyStream () {
85
88
final Path path = Path .of ( Thread .currentThread ().getContextClassLoader ()
86
89
.getResource ( "org/hibernate/orm/test/envers/integration/blob/blob.txt" ).getPath () );
@@ -105,7 +108,7 @@ public void testGenerateProxyStream() {
105
108
// H2, MySQL, Oracle, SQL Server work this way.
106
109
//
107
110
//
108
- Blob blob = BlobProxy .generateProxy ( stream , 9192L );
111
+ Blob blob = BlobProxy .generateProxy ( stream , 1431 );
109
112
110
113
asset .setData ( blob );
111
114
entityManager .persist ( asset );
0 commit comments