The Artima Developer Community
Sponsored Link

Java Answers Forum
Relationship fields in EJB

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andy

Posts: 2
Nickname: andyp
Registered: Feb, 2003

Relationship fields in EJB Posted: Feb 7, 2003 5:53 AM
Reply to this message Reply
Advertisement
Dear member,
i was establishing a relationship between two Entity beans.
For this i was storing the primary key of second entity in first entity field, but not vice-versa.
For this i make proper changes in .xml file.
But this exception was coming..

com.evermind.server.rmi.OrionRemoteException: Error loading state: java.io.StreamCorruptedException: InputStream does not contain a serialized object

void Customer_EntityBeanWrapper35.setLast_name(java.lang.String)

Customer_EntityBeanWrapper35.java:2013

java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])

native code

void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
................
. ..
...data types were of type String and Long, that are serializable, but still this is coming....

Topic: Looking for com.sun.image.codec.jpeg package Previous Topic   Next Topic Topic: What is the difference between?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use