Re: [Simple-support] NullPointerException when attempting to serializemultiply nested generic maps
Brought to you by:
niallg
|
From: Stanislaw O. <sta...@ca...> - 2009-02-13 14:58:08
|
> > For now its a known limitation. Collections in collections are not > supported because there is no way to decide what to call them. For instance > what would the root of the inner map be, also what would the entry elements > be named etc. Because @ElementMap contains only enough meta-data to describe > the method or field it annotates it only supports primitive and annotated > objects. > This is what I thought, thanks for confirmation. > Although NullPointerException is never good to see. Ill replace this with a > proper check and a PersistenceException. > That may save people from unnecessary debugging :-) Cheers, S. |