Digest for jooq-user@googlegroups.com - 4 updates in 2 topics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Digest for jooq-user@googlegroups.com - 4 updates in 2 topics

http://groups.google.com/group/jooq-user/topics mailing list
Debapriya Patra <[hidden email]>: Sep 03 02:51PM -0700

While writing unit test for my DAO methods, i am getting an error *Not yet
*14:46:50.838 [Test worker] DEBUG org.jooq.tools.LoggerListener - Executing
batch query : insert into "public"."recent_activity" ("updated",
"deck_id", "user_id") values (cast(? as timestamp), cast(? as uuid), cast(?
as uuid))14:46:50.842 [Test worker] DEBUG org.jooq.tools.LoggerListener -
Exception org.jooq.exception.DataAccessException: SQL
[insert into "public"."recent_activity" ("updated", "deck_id", "user_id")
values (cast(? as timestamp), cast(? as uuid), cast(? as uuid))]; Not yet
I am currently on jOOQ3.11 . Do i need to upgrade the version or its not
yet supported ?
Lukas Eder <[hidden email]>: Sep 04 09:26AM +0200

Hi Deba,
Thank you very much for your message. Indeed, JDBC's batch statements (and
by consequence jOOQ's batch statements) are not yet supported by the
MockFileDatabase. They are supported by the MockConnection, though, so as a
workaround, you could enhance your MockConnection to use a MockFileDatabase
only when statements are not batched.
We didn't have a feature request for this yet, so the feature has not been
on our roadmap in the past. I've created a feature request for this:
Thanks again,
On Tue, Sep 3, 2019 at 11:51 PM Debapriya Patra <[hidden email]>
Debapriya Patra <[hidden email]>: Sep 04 01:30PM -0700

Hi Lukas,
Thank You So Much !
On Wednesday, September 4, 2019 at 12:26:29 AM UTC-7, Lukas Eder wrote:
Lukas Eder <[hidden email]>: Sep 04 08:15AM -0700

For the record, here are the manual sections about the new procedural API:
On Tuesday, September 3, 2019 at 9:08:15 AM UTC+2, Matthias Kurz wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].