Hi,

I'm pretty sure I posted this question recently but I can't find a trace of 
it so here goes...

Looking at http://www.jooq.org/manual-single-page/ I see that some methods 
throw SQLException while other methods throw DataAccessException. Why do we 
have both these exceptions? Should JOOQ only throw one?

Even if this was fixed, it looks like I'm forced to invoke 
Factory.getConnection().commit() to commit the transaction. Since 
factory.getConnection() returns java.sql.Connection, the commit() method 
throws SQLException again. Shouldn't JOOQ provide a wrapper class that 
wraps converts all SQLExceptions to DataAccessException?


Thanks,
Gili

Reply via email to