在没有启用 useStatementNamespaces  的时候下面这个无错误

 

- The error occurred while loading SqlMap.
- Check the parameter mapping typeHandler attribute '' (must be a ITypeHandlerCallback implementation).
- The error occurred in <sqlMap resource="Maps/FrameWork_TableField.config" xmlns="http://ibatis.apache.org/dataMapper" />.
- Check the vs9.entity.FrameWork_TableName.Select.

原因:  由于配置文件拷贝后,没有更改namespace

 

<?xml version="1.0" encoding="UTF-8" ?>
<sqlMap namespace="vs9.entity.FrameWork_TableName"    --2个配置文件的namespace相同了
xmlns="http://ibatis.apache.org/mapping"   

 

解决上面的错误,继续...

- The error occurred while loading SqlMap.
- ParameterPropertyDeSerializer
- The error occurred in <sqlMap resource="Maps/FrameWork_TableField.config" xmlns="http://ibatis.apache.org/dataMapper" />.
- Check the vs9.entity.FrameWork_TableField.InsertParameter.

<parameterMaps>
<parameterMap />
</parameterMap>
</parameterMaps>

一直以为是
InsertParameter  里面使用了不支持的 映射类型,删除整个parametermaps,正常,后来发现,映射错了
FrameWork_TableName.TableId  应该是   FrameWork_TableName.Id


 
                    
            
                

相关文章:

  • 2022-12-23
  • 2022-01-27
  • 2022-12-23
  • 2021-12-12
  • 2021-11-30
  • 2021-06-22
  • 2022-03-09
  • 2022-02-11
猜你喜欢
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-07-29
相关资源
相似解决方案