commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: [betwixt] Problem loading a Bean in Betwixt
Date Mon, 17 Oct 2005 17:26:40 GMT
On 10/17/05, Sameer Nanda <sam504u@gmail.com> 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message