commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <>
Subject Re: [betwixt] Problem loading a Bean in Betwixt
Date Mon, 17 Oct 2005 17:26:40 GMT
On 10/17/05, Sameer Nanda <> wrote:

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

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) ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message