You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Maarten Meijer <mj...@xs4all.nl> on 2008/03/27 11:50:00 UTC

How to get a plain Hashmap with key containing dots

I want to fill a HashMap with values from a database using ibatis.
The keys MUST be in dot notation like 'task.common.comment.author.name'

But then I get error such as:

--- The error occurred in OMS_Mysql/CommentsMap.xml.
--- The error occurred while applying a result map.
--- Check the Comments.getForKey-AutoResultMap.
--- Check the result mapping for the 'task.common.comment.author.name'  
property.
--- Cause: com.ibatis.common.beans.ProbeException: There is no  
WRITEABLE property named 'common' in class 'java.lang.Object'

Is there a way to prevent ibatis from trying to use these dots to set  
up a complex bean structure?


Maarten Meijer

E: mjmeijer AT xs4all DOT nl
M: +31(6)22451360
T: +31 23 5283396
P: Nicolaas Beetslaan 10, 2103SH Heemstede