有一篇关于java hibernate的文章
http://comedsh.iteye.com/blog/526121 解决问题
最简单的是 在sql里处理
如:
(case when ID IS NULL then 0 else ID End) ID
有一篇关于java hibernate的文章
http://comedsh.iteye.com/blog/526121 解决问题
最简单的是 在sql里处理
如:
(case when ID IS NULL then 0 else ID End) ID