Skip to content

Commit c6cbea2

Browse files
committed
[#1641] Test @Struct with CockroachDB
1 parent 31c6a46 commit c6cbea2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/StructComponentTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import jakarta.persistence.Id;
2727

2828
import static java.util.concurrent.TimeUnit.MINUTES;
29-
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.COCKROACHDB;
3029
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MARIA;
3130
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MYSQL;
3231
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.ORACLE;
@@ -36,7 +35,7 @@
3635

3736
@Timeout(value = 10, timeUnit = MINUTES)
3837
@DisabledFor(value = ORACLE, reason = "see issue https://github.com/hibernate/hibernate-reactive/issues/1855")
39-
@DisabledFor(value = {SQLSERVER, MYSQL, MARIA, COCKROACHDB}, reason = "ORM does not support @Struct for these databases")
38+
@DisabledFor(value = {SQLSERVER, MYSQL, MARIA}, reason = "ORM does not support @Struct for these databases")
4039
public class StructComponentTest extends BaseReactiveTest {
4140

4241
private static final Log LOG = LoggerFactory.make( Log.class, MethodHandles.lookup() );

hibernate-reactive-core/src/test/java/org/hibernate/reactive/StructEmbeddableTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import jakarta.persistence.Id;
2424

2525
import static java.util.concurrent.TimeUnit.MINUTES;
26-
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.COCKROACHDB;
2726
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MARIA;
2827
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MYSQL;
2928
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.ORACLE;
@@ -33,7 +32,7 @@
3332

3433
@Timeout(value = 10, timeUnit = MINUTES)
3534
@DisabledFor(value = ORACLE, reason = "see issue https://github.com/hibernate/hibernate-reactive/issues/1855")
36-
@DisabledFor(value = {SQLSERVER, MYSQL, MARIA, COCKROACHDB}, reason = "ORM does not support @Struct for these databases")
35+
@DisabledFor(value = {SQLSERVER, MYSQL, MARIA}, reason = "ORM does not support @Struct for these databases")
3736
public class StructEmbeddableTest extends BaseReactiveTest {
3837
static RecordStructHolder holder1;
3938
static RecordStructHolder holder2;

0 commit comments

Comments
 (0)