Thread View: borland.public.jbuilder.java.language
2 messages
2 total messages
Started by Petar Popara
Thu, 01 Dec 2005 16:37
serialVersionUID
Author: Petar Popara
Date: Thu, 01 Dec 2005 16:37
Date: Thu, 01 Dec 2005 16:37
7 lines
1038 bytes
1038 bytes
Does it have to be set to 42L value as demonstrated here: http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html I got an java.lang.ClassCastException: demoapp.jb.OsebaJB exception when returning array of JavaBeans from my session EJB.
Re: serialVersionUID
Author: Kevin Dean [TeamB]
Date: Thu, 01 Dec 2005 17:54
Date: Thu, 01 Dec 2005 17:54
27 lines
1973 bytes
1973 bytes
Petar Popara wrote: > >Does it have to be set to 42L value as demonstrated here: > >http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html > >I got an java.lang.ClassCastException: demoapp.jb.OsebaJB exception when >returning array of JavaBeans from my session EJB. The value is entirely up to you. The class cast exception you're seeing likely has nothing to do with serialization and more to do with EJB object management. We'd have to see the stack trace to fully understand the problem. -- Kevin Dean [TeamB] Dolphin Data Development Ltd. http://www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server http://www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at http://info.borland.com/newsgroups/guide.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads