Error:
java.lang.NoSuchMethodError:
org.hibernate.cfg.Settings.getSqlStatementLogger()Lorg/hibernate/jdbc/
util/SQLStatementLogger;
at
hibernatingrhinos.hibernate.profiler.jdbc.SpyBatchingBatcher.logSql(SpyBatchingBatcher.java:
163)
at
hibernatingrhinos.hibernate.profiler.jdbc.SpyBatchingBatcher.closeStatement(SpyBatchingBatcher.java:
131)
at
org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:
285)
at
org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:
212)
at org.hibernate.loader.Loader.doQuery(Loader.java:726)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:
236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:
94)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:
305)
In my tests I am using H2 and here it's working fine where all query
parameters is shown
Ayende Rahien
unread,
Aug 8, 2011, 6:07:39 AM8/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hibernate...@googlegroups.com
Is it possible that you are getting this because of some version mismatch?