|
VALUES ("INSEQUENCE"."NEXTVAL",?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) Nested error: java.sql.SQLException: ORA-02289: sequence does not exist
Mapping as follows <key-generator name="SEQUENCE" alias="SEQ"> <param name="sequence" value="insequence"/> </key-generator> <!-- Mapping for Incident -->
<class name="com.Castor.Incident" access="shared" identity="id" key-generator="SEQ" >
<description> Incident</description> <map-to table="db.Incidents" /> <field name="id" type="string" key-generator="SEQ"> <sql name="id" type="integer"/> </field> |
