@GeneratedValue Oracle error

Hello,

I've been searching and haven't found any reference to this problem. I'm getting the following error

Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist

Error Code: 942

Call:UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + ? WHERE SEQ_NAME = ?

bind => [50, SEQ_GEN]

when trying to write to a table through my entityBean. I think I've narrowed it down to the following code

@Id

@GeneratedValue(strategy = GenerationType.AUTO)

int emp_ID;

as I can write to the table if I manually set emp_ID. Any help is much appreciated as I'm not having much luck elsewhere.

Thanks

[679 byte] By [elSkoonoa] at [2007-11-27 3:08:58]
# 1
http://forum.java.sun.com/thread.jspa?threadID=5172456
amarpolimeraa at 2007-7-12 3:57:31 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...