Module org.jooq

Class MockFileDatabaseConfiguration

java.lang.Object
org.jooq.tools.jdbc.MockFileDatabaseConfiguration

public final class MockFileDatabaseConfiguration extends Object
A configuration object for the MockFileDatabase.

Disclaimer: The general idea of mocking a JDBC connection with this jOOQ API is to provide quick workarounds, injection points, etc. using a very simple JDBC abstraction. It is NOT RECOMMENDED to emulate an entire database (including complex state transitions, transactions, locking, etc.) using this mock API. Once you have this requirement, please consider using an actual database instead for integration testing (e.g. using https://www.testcontainers.org), rather than implementing your test database inside of a MockDataProvider.

Author:
Lukas Eder