- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.J
2017-07-24 14:56:30
1158
原创 org.hibernate.hql.ast.QuerySyntaxException:
org.hibernate.hql.ast.QuerySyntaxException: s_product is not mapped [from s_product where pid=99] at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:18
2017-07-22 10:18:48
682
原创 Caused by: org.hibernate.PropertyNotFoundException:
Exception in thread "main" java.lang.ExceptionInInitializerError at biz.ProductBiz.getProduct(ProductBiz.java:20) at servlet.Test.main(Test.java:13) Caused by: java.lang.RuntimeException: hibernate
2017-07-22 09:50:42
940
原创 Exception in thread "main" java.lang.IllegalArgumentException: node to traverse cannot be null!
Exception in thread "main" java.lang.IllegalArgumentException: node to traverse cannot be null! at org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:63) at org.hibernate
2017-07-21 13:40:22
883
原创 Exception in thread "main" org.hibernate.HibernateException: get is not valid without active transac
Exception in thread "main" org.hibernate.HibernateException: get is not valid without active transaction at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadL
2017-07-21 13:20:15
741
原创 No CurrentSessionContext configured!
org.hibernate.HibernateException: No CurrentSessionContext configured! null at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:685) at Utils.HibernateSessionFactory.
2017-07-21 13:15:23
406
原创 Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodFilter
Exception in thread "main" java.lang.ExceptionInInitializerError at biz.UserBiz.getUser(UserBiz.java:17) at test.Test.main(Test.java:9) Caused by: java.lang.RuntimeException: hibernate初始化失败 at Uti
2017-07-21 13:10:39
861
原创 Exception in thread "main" java.lang.ExceptionInInitializerError
Exception in thread "main" java.lang.ExceptionInInitializerError at dao.UserDao.getUser(UserDao.java:10) at biz.UserBiz.getUser(UserBiz.java:18) at test.Test.main(Test.java:9) Caused by: java.lang
2017-07-21 12:53:26
4912
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅