Thank you very much !!!!!!



2006/2/7, Aslak Gronflaten <[EMAIL PROTECTED]>:

Hi,

for anyone having problems with the SqueezeAdaptor.
I tried to implement an adaptor for Hibernate persisted objects,
following the instructions in the wiki. I just couldn't get it to
work, until I changed the order of interface implementation on my
model objects. They were all implementing Serializable, and were
therefore serialized in the html.
When I changed

class ModelObject implements Serializable, IPersist

to

class ModelObject implements IPersist, Serializable

the DataSqueezer finally picked my HibernateAdaptor to perform the
squeezing.
I had to read the tapestry and hivemind source code to figure this one
out - it  should perhaps be mentioned somewhere more apparent.

   Aslak

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




--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

Reply via email to