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 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题