Hi,

ok i think the spring implementatin is not the right for me.. The problem 
is that i already use goolge guice for dependency injection..  

as i mentioned before i have used exactly the implementation from this site 
for my Transaction Handling...  
http://blog.uws.ie/2013/04/using-jooq-with-spring-transactions/

this worked with jooq 2.6 but not with jooq 3.XX, the Transactions did not 
rolled back properly the rolleback has no effect.. i have do some testing 
and i think the problem is the 
ExecuteListener from jooq and my pooled  Connection that i use..

the ExecuteListener in my 2.6 implementation is the same from this site 
http://java.dzone.com/articles/nice-way-using-jooq-spring

i have only deleted this part"DataSourceUtils.releaseConnection(con, 
dataSource);"

but i think the problem is this code snippet

>
> @Override
>     public void start(ExecuteContext ctx) {
>         DataSource dataSource = ctx.getDataSource();
>         Connection c = DataSourceUtils.getConnection(dataSource);
>         ctx.setConnection(c);
>     }
>
>

I must set the Connection in the start Method.. but  i can not do this 
"ctx.setConnection(c);" with Jooq 3.X.X... is there a solution for this ?

The problem is what he descripted on this website: 
http://blog.uws.ie/2013/04/using-jooq-with-spring-transactions/

"jOOQ still uses non-transactional connection objects" so we must 
"Using jOOQ’s ExecuteListener for getting Spring-managed connections"

so i think my problem is, that i can not set the connection directly in the 
start method..  

Best regards


-- 
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/groups/opt_out.

Reply via email to