在Java日志中,很多时候我会得到类似以下内容的信息:
Caused by: java.sql.BatchUpdateException: failed batch
at org.hsqldb.jdbc.jdbcStatement.executeBatch(jdbcStatement.java:1102)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(jdbcPreparedStatement.java:514)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
... 113 more
有谁知道如何显示完整的堆栈跟踪(即显示其他113行)?
Throwable的JavaDocs(用于Java 7)对正在发生的事情有非常详细的解释。