You could set proxy=false in your hibernate mapping to prevent this
kind of class enhancement, but you'd take a serious performance hit. Without
seeing the source for the hibernate squeezer I can't offer a solution on
that end.

        --- Pat

> -----Original Message-----
> From: Ted Steen [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 09, 2006 10:44 AM
> To: Tapestry users
> Subject: problem with HibernateSqueezer
> 
> there is a problem with the HibernateSqueezer (
> http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer )
> 
> sometimes Hibernate extends the persistent classes, this probably has
> something to do with caching.. anyway, this is an example of what
> data.getClass().getCanonicalName()
> could return;
> a.b.c.PersistentClass$$EnhancerByCGLIB$$971b2e13
> 
> so it is going to unsqueeze to null...
> 
> this seems like a rather common problem (it should have happend to
> them who is using the HibernateSqueezer) anyone know a solution?
> 
> 
> --
> /ted
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




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

Reply via email to