java.lang.Object
org.jooq.tools.jdbc.MockFileDatabaseConfiguration
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnullLiteral(String newNullLiteral)
patterns(boolean newPatterns)
source(InputStream stream)
source(InputStream stream, String encoding)
-
Constructor Details
-
MockFileDatabaseConfiguration
public MockFileDatabaseConfiguration()
-
-
Method Details
-
source
-
source
-
source
-
source
-
source
-
source
-
source
-
patterns
-
nullLiteral
-