I work with Jooq on our system and I try mock DB (MYSQL) for testing. I using JDBC mocking for unit test from your guide https://www.jooq.org/doc/3.7/manual/tools/jdbc-mocking/
I didn’t understand and didn’t success get result for query as example: I add more records to results but when run this query I get all results and look filter (where) not execute. Result<BookRecord> result = create.selectFrom(BOOK).where(BOOK.ID.eq(5)).fetch(); Can you please help me how write the mock correctly so I get in the end results of query and not all records created. -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/200930b2-d95c-4df5-90aa-0b7d3c179bb9n%40googlegroups.com.
