NPE generated w/type handlers for enclosed enums ------------------------------------------------
Key: IBATIS-356 URL: http://issues.apache.org/jira/browse/IBATIS-356 Project: iBatis for Java Issue Type: Bug Components: SQL Maps Affects Versions: 2.2.0 Reporter: Tom Duffey iBATIS 2.2's UnknownTypeHandler has strange (And broken, at least in my case) handling for JDK5. In getParameter() you call getBaseClass() which means if I defined a type handler for: foo.Bar$Baz then iBATIS searches its type handler factory for foo.Bar. Declaring the enums externally is fine because getBaseClass() returns null for top level classes. See http://www.mail-archive.com/dev@ibatis.apache.org/msg01928.html for more info. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira