Closed GoogleCodeExporter closed 9 years ago
The resultType is a hashmap. The first time the FastResultSetHandler attempts
to determine the propertyType -
final Class propertyType = metaObject.getSetterType(property);
it comes back as a java.lang.Object and then goes into the UnknownTypeHandler
to determine the correct type handler based on the typeHandler configuration.
The second time it determines the propertyType there is now a property in the
map for that key. This causes it to return a java.lang.String as the property
type then it goes into the StringTypeHandler. I think that is the problem.
So am I doing something incorrect with the hashmap result type?
Original comment by ted.slus...@gmail.com
on 31 Aug 2010 at 8:46
I am also intrigued why the unmappedColumnNames in
org.apache.ibatis.executor.resultset.FastResultSetHandler:245 contains each
column twice. Once the way I have specified and then in all upper-case.
I am using mybatis v. 3.0.2
Original comment by perhac.p...@gmail.com
on 5 Sep 2011 at 8:45
Original comment by eduardo.macarron
on 11 Sep 2011 at 4:13
Original issue reported on code.google.com by
ted.slus...@gmail.com
on 31 Aug 2010 at 8:24