Skip to content

Commit

Permalink
[#1641] Test @Struct with CockroachDB
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Feb 8, 2024
1 parent 31c6a46 commit c6cbea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import jakarta.persistence.Id;

import static java.util.concurrent.TimeUnit.MINUTES;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.COCKROACHDB;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MARIA;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MYSQL;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.ORACLE;
Expand All @@ -36,7 +35,7 @@

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

private static final Log LOG = LoggerFactory.make( Log.class, MethodHandles.lookup() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import jakarta.persistence.Id;

import static java.util.concurrent.TimeUnit.MINUTES;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.COCKROACHDB;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MARIA;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MYSQL;
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.ORACLE;
Expand All @@ -33,7 +32,7 @@

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

0 comments on commit c6cbea2

Please sign in to comment.