Data::ObjectDriver::Driver::DBD::Oracle(3pm)

Data::ObjectDriver::Driver::DBD::Oracle3pm

Oracle driver for data::objectdriver

Overview

This module overrides methods of the Data::ObjectDriver::Driver::DBD module with Oracle specific implementation.

Notes

Oracle doesn't support auto-increment, so before you use this feature, you should create a sequence and a trigger to work with it.

For example, you want field ID in table WINES be auto-increment, then create:

    -- Create sequence
    CREATE SEQUENCE WINES_ID_SEQ
    MINVALUE 1
    MAXVALUE 999999999999999999999999999
    START WITH 1
    INCREMENT BY 1
    NOCACHE;
    -- Create trigger
    CREATE OR REPLACE TRIGGER WINES_ID_TR
      BEFORE INSERT ON WINES
      FOR EACH ROW
    BEGIN
      SELECT WINES_ID_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

License

This module is free software; you may redistribute and/or modify it under the same terms as Perl itself.

From libdata-objectdriver-perl 0.25-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.