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 sequenceCREATE SEQUENCE WINES_ID_SEQMINVALUE 1MAXVALUE 999999999999999999999999999START WITH 1INCREMENT BY 1NOCACHE;-- Create triggerCREATE OR REPLACE TRIGGER WINES_ID_TRBEFORE INSERT ON WINESFOR EACH ROWBEGINSELECT WINES_ID_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;END;
Author & copyright
This module is copyright (c) 2009 Xiaoou Wu <[email protected]>. All rights reserved.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.