i have this scene:
- A j2ee web application developed with jdeveloper 10g
- this application has 3 layers ... DAO, Bussiness Objects, Presentation
- The DAOs are using hibernate to access an oracle database
- The BO are Stateless Session EJB
- The Presentation is mostrly web, but theres is a small swing client
If everything is executed from within jdeveloper works ok.
But when i run the swing client outside jdeveloper i get this error
EntidadesFacadeBD - -Error obtenerEmpresaXId: Error deserializing return
-value: java.io.InvalidClassException: net.sf.hibernate.collection.ODMGCollection;
Local class not compatible: stream classdescserialVersionUID=629623989050370
4603 local class serialVersionUID=8306570059535984264
The swing client is calling a remote method on the ejb (remote interfaces)
I doble check the to use the same version of hiberante.jar and odmg.jar on the server and the client ... thats ok
I really dont know whats happend. Any help will be appreciaded
Thanks
Ignacio
|