St-Pierre, Philip wrote: > > Since I upgraded castor from version 1.2 to 1.3.1 it seems that castor is > no more able to recognize the hibernate proxy classes. I had created a > castor.properties file and put the following property in it when I was > using 1.2: > > org.exolab.castor.xml.proxyInterfaces = net.sf.cglib.proxy.Factory, > org.hibernate.proxy.HibernateProxy >
A workaround for this using castor 1.3.1 is to simply call setInternalContext on the marshaller before you use it: Marshaller m = context.createMarshaller(); m.setInternalContext(m.getInternalContext()); See http://jira.codehaus.org/browse/CASTOR-2880 -- Per Ottar Ribe Pahr -- View this message in context: http://old.nabble.com/org.exolab.castor.xml.proxyInterfaces-property-not-handled-anymore-in-castor-1.3.1-tp27748327p27832286.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

