SELECT DET_NAME FROM TYPE_DEATAIL
DET_TYPE_ID=#detTypeId[]#
public List getByTypeIDs(int detTypeId[])throws SQLException{
return sqlMapper.queryForList("getByTypeIDs",detTypeId);
}
2008-08-08 14:55:40,937 DEBUG [java.sql.Connection] - {conn-100000} Connection
2008-08-08 14:55:40,937 DEBUG [com.ibatis.common.jdbc.SimpleDataSource] - Returned connection 1623405 to pool.
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:156)
... 7 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.ibatis.common.beans.BaseProbe.getIndexedProperty(BaseProbe.java:50)
... 15 more