java.sql.SQLException thrown within a batch (and in potentially other cases) have the underlying exceptions in getNextException() and not in getCause().
It is a non-standard behaviour, but JDBC is a Core API and it would be nice if logback was able to hand it out of the box.
|