File tree 1 file changed +6
-0
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/schema
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ public static class IndividuallyStrategyTest extends SchemaUpdateTestBase {
42
42
protected Configuration constructConfiguration (String hbm2DdlOption ) {
43
43
final Configuration configuration = super .constructConfiguration ( hbm2DdlOption );
44
44
configuration .setProperty ( Settings .HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY , INDIVIDUALLY .toString () );
45
+ // The entity we are using for testing has some arrays. The default behaviour is to store them as XML and
46
+ // the Vert.x client doesn't support it at the moment.
47
+ configuration .setProperty ( "hibernate.type.preferred_array_jdbc_type" , "VARBINARY" );
45
48
return configuration ;
46
49
}
47
50
}
@@ -53,6 +56,9 @@ public static class GroupedStrategyTest extends SchemaUpdateTestBase {
53
56
protected Configuration constructConfiguration (String hbm2DdlOption ) {
54
57
final Configuration configuration = super .constructConfiguration ( hbm2DdlOption );
55
58
configuration .setProperty ( Settings .HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY , GROUPED .toString () );
59
+ // The entity we are using for testing has some arrays. The default behaviour is to store them as XML and
60
+ // the Vert.x client doesn't support it at the moment.
61
+ configuration .setProperty ( "hibernate.type.preferred_array_jdbc_type" , "VARBINARY" );
56
62
return configuration ;
57
63
}
58
64
}
You can’t perform that action at this time.
0 commit comments