org.hibernate.util.JDBCExceptionReporter] ORA-02289: 序列不存在
2012-08-28 11:14
411 查看
首先明白一点的是在oracle数据库中没有自增报这个错误是因为没有sequence
解决办法:
解决办法:
<id name="personno" type="java.lang.String"> <column name="PERSONNO" length="20" /> <generator class="native" /> </id>修改为 <generator class="assigned" /> 即可
相关文章推荐
- [org.hibernate.util.JDBCExceptionReporter] - ORA-01747: user.table.column, table.column 或列说明无效
- oracle clob ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00932: 数据类型不一致: 应为 -, 但却获得 CLOB
- ERROR: org.hibernate.util.JDBCExceptionReporter - ORA-00904: "XXXX": invalid identifie
- ERROR org.hibernate.util.JDBCExceptionReporter:234 - 流已被关闭
- 14629 [http-8080-1] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 1064, SQLState: 42000
- [ERROR] [09:45:36] org.hibernate.util.JDBCExceptionReporter - 列名 'wewew' 无效。
- [org.hibernate.util.JDBCExceptionReporter] - Cannot load JDBC driver class 'net.
- ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection ha
- org.hibernate.util.JDBCExceptionReporter# 关闭的连接(或者无法从套接字读取更多数据)
- [org.hibernate.util.JDBCExceptionReporter]-[WARN] SQL Error: 8103, SQLState: 72000(未解决)
- ERROR [org.hibernate.util.JDBCExceptionReporter]
- WARN org.hibernate.util.JDBCExceptionReporter:100 - SQL Error: 1146, SQLState: 42S02
- org.hibernate.util.JDBCExceptionReporterorg.hibern
- [置顶] ORA-02289: 序列不存在 在hibernate中正确配置
- ORA-02289: 序列不存在 在hibernate中正确配置
- ORA-02289: 序列不存在 在hibernate中正确配置
- java.sql.SQLSyntaxErrorException: ORA-02289:序列不存在
- Caused by:org.hibernate.HibernateException:Unable to make JDBC Connection
- org.hibernate.exception.GenericJDBCException: Could not open connection
- java.io.NotSerializableException: org.hibernate.util.MarkerObject解决办法