ORA-02289: 序列不存在

[color=red][size=large]插数据的时候报:
Hibernate: select H_shop_ID.nextval from dual
Hibernate: insert into H_shop (shopname, town, password, chinaname, englishname, shopnum, address, phone, fax, email, contacter, mobile, website, description, picurl, status, createtime, updatetime, provinceid, cityid, shopTypeid, smallTypeid, advertise_url, shoppic1, shoppic2, shoppic3, shoppic4, count_ding, count_cai, ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2010-12-02 14:09:21 [org.hibernate.util.JDBCExceptionReporter]-[ERROR] ORA-02289: 序列不存在
2010-12-02 14:09:21 [org.hibernate.event.def.AbstractFlushingEventListener]-[ERROR] Could not synchronize database state with session[/size][/color]
已经重置sequence,还是插入不了

你确定数据库创建了H_shop_ID吗,我把我数据库创建的sequence删了和你抱的错一样。

在数据库里执行一个sequence
create sequence user_seq
increment by 1
start with 100000000
nomaxvalue
nocycle
nocache;




user_seq

你是这样做的吗。

把对应的列加上啊