Hello,
to unit-test my code, i am following the recommendation from 
here: http://www.jooq.org/doc/3.4/manual/tools/jdbc-mocking/. But for one 
query i have to resort to an transaction, but it seems that MockConnections 
setSavepoint() returns null, resulting in an Nullpointer-exception.
this is my stack trace:

java.lang.NullPointerException
at java.util.ArrayDeque.addFirst(ArrayDeque.java:228)
at java.util.ArrayDeque.push(ArrayDeque.java:503)
at 
org.jooq.impl.DefaultTransactionProvider.begin(DefaultTransactionProvider.java:155)
at 
org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:338)

am i doing something wrong? Or is that beyond the reach of the 
MockConnection?

-- 
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