Class DialectTestContext

java.lang.Object
org.hibernate.dialect.testing.DialectTestContext
All Implemented Interfaces:
AutoCloseable

@Incubating(since="8.0", group="dialect-testkit") @SPI(USE) public final class DialectTestContext extends Object implements AutoCloseable

A thread-confined, database-free context for inspecting SQL generated by one Dialect profile.

Close the context when the provider test is complete. Operations after close() fail with IllegalStateException.

Since:
8.0
  • Method Details