oracle 数据异常积累

--org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory

这种错误应该就是oracle的链接有问题

Null value was assigned to a property of primitive type setter ,hibernate int型数据无法读取 hiberante读int

--原因是int数据库字段是不能为空的,再通过hibernate关联转换成对象的时候报了错

1.   要修改这个字段不为int,为其他可以为null值的

2.   要么修改数据,把null值改成有值的

问题就解决了

猜你喜欢

转载自2594082lhj.iteye.com/blog/1708712