Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Oracle support (Thanks Simone Tellini !)

  • Loading branch information...
commit b98741796a0f3eecf276b6e2515712428960b9a8 1 parent 2601cd7
@lolautruche authored
View
1  doc/CHANGELOG
@@ -1,5 +1,6 @@
1.2.1
-----------------
+Added Oracle schema (Thanks Simone Tellini !)
Updated doc about content options and publish options - http://bit.ly/f3f2RI
Fixed issue : Datatypes fromString() / toString() always appear consistent, even if they are not implemented - http://bit.ly/f3f2RI
Fixed "Using $this in a non object context in sqlilocation" - http://bit.ly/fzJN8G
View
6 doc/README.txt
@@ -39,6 +39,12 @@ LICENCE
-------
This eZ Publish extension is provided *as is*, in GPL v2 (see LICENCE).
+CREDITS
+-------
+This extension has been written by `Jérôme Vieilledent <http://share.ez.no/community/profile/11256>`_ and sponsored by `SQLi <http://www.sqli.com/eng>`_.
+
+Oracle adaptation has been made by `Simone Tellini <http://tellini.info/>`_.
+
.. raw:: pdf
PageBreak oneColumn
View
BIN  doc/SQLIImport doc.pdf
Binary file not shown
View
53 sql/oracle/schema.sql
@@ -0,0 +1,53 @@
+CREATE TABLE sqliimport_scheduled (
+ id int NOT NULL,
+ handler varchar(50),
+ label varchar(255),
+ options_serialized clob,
+ frequency varchar(30) NOT NULL,
+ next int DEFAULT 0,
+ user_id int,
+ requested_time int,
+ is_active smallint DEFAULT 0,
+ manual_frequency int DEFAULT 0,
+ PRIMARY KEY (id)
+);
+
+CREATE TABLE sqliimport_item (
+ id int NOT NULL,
+ handler varchar(50),
+ options_serialized clob,
+ user_id int,
+ requested_time int DEFAULT 0,
+ STATUS smallint DEFAULT 0,
+ percentage_int smallint DEFAULT 0,
+ type smallint DEFAULT 1,
+ progression_notes clob,
+ process_time int DEFAULT 0,
+ scheduled_id int,
+ PRIMARY KEY (id)
+);
+
+CREATE SEQUENCE se_sqliimport_item;
+CREATE SEQUENCE se_sqliimport_scheduled;
+
+CREATE OR REPLACE TRIGGER tr_sqliimport_scheduled_id
+BEFORE INSERT ON sqliimport_scheduled
+FOR EACH ROW
+WHEN ( new.ID IS NULL )
+BEGIN
+ SELECT se_sqliimport_scheduled.NEXTVAL
+ INTO :new.ID
+ FROM dual;
+END;
+/
+
+CREATE OR REPLACE TRIGGER tr_sqliimport_item_id
+BEFORE INSERT ON sqliimport_item
+FOR EACH ROW
+WHEN ( new.ID IS NULL )
+BEGIN
+ SELECT se_sqliimport_item.NEXTVAL
+ INTO :new.ID
+ FROM dual;
+END;
+/
Please sign in to comment.
Something went wrong with that request. Please try again.