org.springframework.dao.InvalidDataAccessResourceUsageException: could not get next sequence value
2008-12-26 17:06
585 查看
不能获得sequence。。
创建一个新的sequence,然后在hbm.xml文件中指定sequence
例:
<generator class="native">
<param name="sequence">s1</param>
</generator>
创建一个新的sequence,然后在hbm.xml文件中指定sequence
例:
<generator class="native">
<param name="sequence">s1</param>
</generator>
相关文章推荐
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not get next sequence value
- org.springframework.dao.InvalidDataAccessResourceUsageException: Could not execute JDBC batch update
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exc
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query;
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exc
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query
- org.springframework.dao.InvalidDataAccessResourceUsageException: Could not execute JDBC batch
- [hibernate]:org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exception is org.hi
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query;
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exception is org.hibernate.exce
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query;
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exc
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not insert:
- org.springframework.dao.DataAccessResourceFailureException: could not execute query; nested exceptio
- 一般数据语句或者建表问题:yiorg.springframework.dao.InvalidDataAccessResourceUsageException:
- org.springframework.dao.InvalidDataAccessResourceUsageException异常
- org.springframework.dao.InvalidDataAccessResourceUsageException
- org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [41] did not match expected type [java.lang.Integer (n/a)];