Skip to content

Commit

Permalink
enable test on HSQL and Derby
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Mar 4, 2024
1 parent 115ddff commit 492e947
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import jakarta.persistence.UniqueConstraint;
import org.hibernate.dialect.DerbyDialect;
import org.hibernate.dialect.HSQLDialect;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.OracleDialect;
Expand Down Expand Up @@ -34,6 +36,8 @@ public class InsertConflictOnConstraintTest {
@RequiresDialect( OracleDialect.class )
@RequiresDialect( SQLServerDialect.class )
@RequiresDialect( MySQLDialect.class )
@RequiresDialect( HSQLDialect.class )
@RequiresDialect( DerbyDialect.class )
@Test void testDoNothing(SessionFactoryScope scope) {
scope.getSessionFactory().getSchemaManager().truncateMappedObjects();
scope.inTransaction( s -> s.persist(new Constrained()));
Expand Down

0 comments on commit 492e947

Please sign in to comment.