hibernate
文章平均质量分 76
Mm_LOVE_92
这个作者很懒,什么都没留下…
展开
-
Class not found test.StudentsTest1
Class not found test.StudentsTest1java.lang.ClassNotFoundException: test.StudentsTest1 at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Sourc原创 2017-03-24 21:15:31 · 1174 阅读 · 0 评论 -
org.hibernate.internal.util.config.ConfigurationException: Unable to perform unmarshalling at line n
org.hibernate.internal.util.config.ConfigurationException: Unable to perform unmarshalling at line number -1 and column -1 in RESOURCE hibernate.cfg.xml. Message: cvc-complex-type.3.2.2: 元素 'mapping'原创 2017-03-24 21:21:24 · 9337 阅读 · 5 评论 -
org.hibernate.SessionException: Session was already closed
遇到的问题:测试hibernate向数据库创建表的时候出现以下问题org.hibernate.SessionException: Session was already closedat org.hibernate.internal.SessionImpl.close(SessionImpl.java:344)at sun.reflect.NativeMethodAcces原创 2017-03-25 10:33:58 · 685 阅读 · 0 评论 -
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Junit4单元测试报错:org.hibernate.exception.SQLGrammarException: could not extract ResultSet at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:82)原创 2017-04-04 20:50:23 · 5165 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'hibernate1.user' doesn't exist
org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63) at org.hiberna原创 2017-04-23 19:28:22 · 789 阅读 · 0 评论