Greetings and Happy New Year,

I am having trouble writing code that implements connection failure retry 
using JOOQ.

When the connection fails I receive a DataAccessException as expected. I 
then reestablish the connection to the database and attempt to call 
batch.execute() again.  As you can imagine this throws a 
DataAccessException with "Connection is closed" message.

I need a way to update the batch's connection context but I don't see a 
public class that will let me get access. I don't want to keep the records 
in a cache and replay them, it could be tens of thousand of records.

Can someone point me to a way of sending a message to the batch that I have 
established a new connection to the database?

jeff

-- 
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/9adf3fff-2c4c-4984-b6d9-e19702228760%40googlegroups.com.

Reply via email to