-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate does not serialize foreign-key objects properly
PostPosted: Fri Feb 17, 2006 9:58 am 
Newbie

Joined: Fri Feb 17, 2006 9:23 am
Posts: 1
Hi everyone!

I am using hibernate with Sun App Server and Oracle.

I have classes referencing eachother. No master-detail, just simple foreign keys. eg: a Product class has a foreig key from the ProductType class. If ProductType has primitive properties and I just want to get the Product (without getting the ProductType along) then I get serialization errors ("Class short not found").

However, if the ProductType does not have primitive properties everything works fine.

Does anyone know how this can be solved?

Thanks in Advance!!


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

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.