-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: hibernate + jdeveloper + ejb + swing client
PostPosted: Fri Jun 04, 2004 3:16 pm 
Newbie

Joined: Tue Mar 16, 2004 1:44 pm
Posts: 17
Location: San Jose - Costa Rica
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 4:19 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You are not using the same jar version.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 4:53 pm 
Newbie

Joined: Tue Mar 16, 2004 1:44 pm
Posts: 17
Location: San Jose - Costa Rica
yes, i doble check it and im using the same jar version ....

the only posibility is that jdeveloper put another jar version in the classpath ... but i cant find any reference

Thanks
Ignacio


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.