Uses of Interface
org.jooq.tools.jdbc.MockDataProvider
-
Packages that use MockDataProvider Package Description org.jooq Theorg.jooq
package contains jOOQ's public API.org.jooq.impl Theorg.jooq.impl
package contains jOOQ's implementation classes.org.jooq.tools.jdbc Theorg.jooq.tools.jdbc
package contains compatibility classes to bridge between JDBC 4.0 and JDBC 4.1. -
-
Uses of MockDataProvider in org.jooq
Methods in org.jooq with parameters of type MockDataProvider Modifier and Type Method Description void
DSLContext. mock(MockDataProvider provider, MockRunnable mockable)
Run aMockRunnable
in the context of thisDSLContext
's underlyingScope.configuration()
's, and of aMockDataProvider
.<T> T
DSLContext. mockResult(MockDataProvider provider, MockCallable<T> mockable)
Run aMockRunnable
in the context of thisDSLContext
's underlyingScope.configuration()
's, and of aMockDataProvider
and return themockable
's outcome. -
Uses of MockDataProvider in org.jooq.impl
Methods in org.jooq.impl with parameters of type MockDataProvider Modifier and Type Method Description void
DefaultDSLContext. mock(MockDataProvider provider, MockRunnable mockable)
<T> T
DefaultDSLContext. mockResult(MockDataProvider provider, MockCallable<T> mockable)
-
Uses of MockDataProvider in org.jooq.tools.jdbc
Classes in org.jooq.tools.jdbc that implement MockDataProvider Modifier and Type Class Description class
MockFileDatabase
A file-basedMockDataProvider
.Methods in org.jooq.tools.jdbc that return MockDataProvider Modifier and Type Method Description static MockDataProvider
Mock. of(int rows)
Create a newMockDataProvider
that always returns a single record for all queries.static MockDataProvider
Mock. of(Record record)
Create a newMockDataProvider
that always returns a single record for all queries.static MockDataProvider
Mock. of(Result<?> result)
Create a newMockDataProvider
that always returns the same result for all queries.static MockDataProvider
Mock. of(MockResult... result)
Create a newMockDataProvider
that always returns the same mock results for all queries.Constructors in org.jooq.tools.jdbc with parameters of type MockDataProvider Constructor Description MockConfiguration(Configuration delegate, MockDataProvider provider)
MockConnection(MockDataProvider data)
MockConnectionProvider(ConnectionProvider delegate, MockDataProvider provider)
MockStatement(MockConnection connection, MockDataProvider data)
MockStatement(MockConnection connection, MockDataProvider data, String sql)
-