They'll be usable if they're marked `final`, though you might consider using `transactionResult` instead of `transaction` and doing your response manipulation outside of the transaction to avoid intermingling your db manipulation with view logic.

On 11/04/2018 09:19 AM, 'Maverick Skywalker' via jOOQ User Group wrote:
I'm using the jOOQ transactions inside a servlet but now I run into a issue. How I can access the request and response object from inside the tranaction?

With mockup strings and logging the issue wasn't recognizable. I'm using JDK 1.8 and Java EE 7 Web.

|
protectedvoidprocessRequest(HttpServletRequestrequest,HttpServletResponseresponse){

// ...

     tx.transaction(newTransactionalRunnable(){
@Override
publicvoidrun(Configurationconfiguration)throwsThrowable{
DSLContexttx =DSL.using(configuration);


// How I can access the request or response object?

}
}
}
|

--
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] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to