O. All of the properties in the POJO are serializable :=/.
>
>> -Original Message-
>> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
>> Sent: Monday, February 14, 2011 2:40 AM
>> To: Struts Users Mailing List
>> Subject: Re: JSON Error - Hibernate Enti
Struts Users Mailing List
> Subject: Re: JSON Error - Hibernate Entities
>
> Your Item class is a simple POJO [1], isn't it?
> Have you tried to use a DTO [2] object and see what happens?
>
> [1] http://en.wikipedia.org/wiki/Plain_Old_Java_Object
>
t that before it
> finally puked so I'm not sure if because my object graph has these
> circular references if that is creating problems for it or not.
>
>> -Original Message-
>> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
>> Sent: Monday, F
.@gmail.com]
> Sent: Monday, February 14, 2011 1:12 AM
> To: Struts Users Mailing List
> Subject: Re: JSON Error - Hibernate Entities
>
> Could you post your struts.xml and the action which you're trying to
> serialize?
> I'm pretty sure that your action class contains a re
Could you post your struts.xml and the action which you're trying to
serialize?
I'm pretty sure that your action class contains a reference to a connection
object and the json plugin is trying to serialize it.
If I'm right you could simply change your root parameter via action
configuration inside
5 matches
Mail list logo