ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Meijer <mjmei...@xs4all.nl>
Subject How to get a plain Hashmap with key containing dots
Date Thu, 27 Mar 2008 10:50:00 GMT

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




Mime
View raw message