File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/schema Expand file tree Collapse file tree 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 {
4242 protected Configuration constructConfiguration (String hbm2DdlOption ) {
4343 final Configuration configuration = super .constructConfiguration ( hbm2DdlOption );
4444 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" );
4548 return configuration ;
4649 }
4750 }
@@ -53,6 +56,9 @@ public static class GroupedStrategyTest extends SchemaUpdateTestBase {
5356 protected Configuration constructConfiguration (String hbm2DdlOption ) {
5457 final Configuration configuration = super .constructConfiguration ( hbm2DdlOption );
5558 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" );
5662 return configuration ;
5763 }
5864 }
You can’t perform that action at this time.
0 commit comments