I guess it can't hurt to have them Serializable. I'll add the static
final.
Thanks, Kevin
On May 9, 2007, at 9:02 AM, Sean Sell wrote:
I don't don't know about hibernate but I'm pushing some object onto
a JMS topic and they need to be serialized.
to get rid of your error add to your class:
public static final long serialVersionUID = 1L;
you only need to update the version ID with changes if you actually
store the serialized version and want make sure your not loading
and old one.
----- Original Message ----
From: Kevin <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 9, 2007 8:47:13 AM
Subject: [flexcoders] is Serializable needed?
do java classes need to implement java.io.Serializabl e for use
with FDS/Hibernate?
If not is there another reason to do this? Eclipse keeps giving me
warnings whenever I implement this?
"The serializable class AddressVO does not declare a static final
serialVersionUID field of type long"
Thanks, Kevin
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food Drink Q&A.