commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameer Nanda <sam5...@gmail.com>
Subject Re: [betwixt] Problem loading a Bean in Betwixt
Date Mon, 17 Oct 2005 17:54:00 GMT
Hello Tom,

I loooked at my Hibernate mappings with the DB, and everything looks ok to
me. I would definetly check with the mailing list on HIbernate about this
problem.

In the mean if anybody finds any solution relevant to my problem, please let
me know.

Regards,
Sameer

On 10/17/05, Thomas Dudziak <tomdzk@gmail.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message