zhangxiansheng1988 2015-02-02 15:35 采纳率: 0%
浏览 2701
已结题

mysql org.hibernate.type.nullabletype

一月 30, 2015 4:42:49 下午 org.hibernate.jdbc.util.SQLStatementLogger logStatement
FINE: select callId,preSales,afterSales,brandCode,terraceId from t_lz_callus t
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '2' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: afterSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: brandCode
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: terraceId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '4' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: afterSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '2' as column: brandCode
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: terraceId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '5' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8889' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8889' as column: afterSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '3' as column: brandCode
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: terraceId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '6' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-862-8888' as column: afterSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '4' as column: brandCode
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: terraceId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '7' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-813-8886' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '400-813-8886' as column: afterSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '5' as column: brandCode
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: terraceId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '8' as column: callId
一月 30, 2015 4:42:49 下午 org.hibernate.type.NullableType nullSafeGet
FINEST: returning '1' as column: preSales
一月 30, 2015 4:42:49 下午 org.hibernate.type.Null
日志中出现大量的这样的日志,,,只要写hql语句,就会报这样的日志,数据库是varchar 实体类是string ,mysql 数据库。很简单的问题,尝尽了各种办法,期待高手给个解决办法。

  • 写回答

2条回答 默认 最新

  • threenewbee 2015-02-02 15:54
    关注

    应该是你的映射文件和数据库表结构不同步造成的。

    评论

报告相同问题?

悬赏问题

  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题