Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in sqlmap/DataSync.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the DataSync.saveVisitordata.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:110)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:393)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
at org.springframework.orm.ibatis.SqlMapClientTemplate$8.doInSqlMapClient(SqlMapClientTemplate.java:366)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)

... 137 more

解决方法:

iterate中的property去掉,修改成下图2

ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsExce

ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsExce














相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2022-01-08
  • 2021-10-16
猜你喜欢
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
  • 2021-08-23
  • 2022-01-12
相关资源
相似解决方案