Data Class containing int not serializable?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pat_Kim
Posted On:   Monday, February 13, 2006 11:44 AM

Hi,

I am trying to pass a bean to a Session EJB but I am getting a runtime error "java.io.NotSerializableException" because I have several int fields within my bean. Is there a way around this?

Thanks in advance.

- Pat

Re: Data Class containing int not serializable?

Posted By:   ankush_purwar  
Posted On:   Monday, February 13, 2006 03:20 PM

Make the fields as Integer rather than int using java wrapper classes.

Hoe you understands now.
About | Sitemap | Contact