Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-154

Autoincrementing columns broken on Oracle10?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.0
    • None
    • Core - Oracle
    • None
    • Oracle Database 10g Enterprise Edition Release 10.2.0.1.0

    Description

      java.lang.RuntimeException: Unable to execute SQL with message 'Missing IN or OUT parameter at index:: 1' and code 17041/null:

      CREATE OR REPLACE TRIGGER trg_w_inboxmsg_id BEFORE INSERT ON w_inboxmsg FOR EACH ROW WHEN (new.id IS NULL)
      BEGIN SELECT seq_w_inboxmsg_id.nextval INTO :new.id FROM dual; END;;

      Attachments

        Activity

          People

            tomdz Thomas Dudziak
            mperham Mike Perham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: