Re: [Simple-support] Serializing/ deserializing List<Object> containing objects of different types
Brought to you by:
niallg
|
From: Stanislaw O. <sta...@ca...> - 2008-02-11 19:21:11
|
Hi Niall,
The best solution, is probably to add the following
> callback method also.
>
> @Persist
> private void persist() {
> for(int i = 0; i < test.size(); i++) {
> Object val = test.get(i);
> String text = String.valueOf(val);
>
> test.set(i, text);
> }
> }
This approach will do the trick for me, thanks!
Cheers,
Staszek
|