On 10/17/05, Sameer Nanda <[EMAIL PROTECTED]> wrote:

> Heres how the stacktrace look like:
>
> java.lang.UnsupportedOperationException
> at org.hibernate.util.IdentityMap.keySet(IdentityMap.java:162)
> at org.hibernate.stat.SessionStatisticsImpl.getEntityCount(
> SessionStatisticsImpl.java:21)
> at org.hibernate.stat.SessionStatisticsImpl.toString(
> SessionStatisticsImpl.java:37)
> at java.lang.String.valueOf(String.java:2577)

Looks like Hibernate performs some object modification in the
org.hibernate.stat.SessionStatisticsImpl.toString() method (which is
bad IMO, a toString method shouldn't modify any state).
I think you're better off searching the Hibernate forums for this
problem, or ask at their mailing list. You might however debug into
the lowest call in Betwixt to see for which bean this problem is
generated, perhaps you have some datatype mismatch (Hibernate returns
a different datatype than what you expected) ?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to