forked from pljson/pljson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sql
56 lines (49 loc) · 2.37 KB
/
install.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
PROMPT -- Setting optimize level --
/*
11g
ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL = 3;
ALTER SESSION SET plsql_code_type = 'NATIVE';
*/
ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL = 2;
/*
This software has been released under the MIT license:
Copyright (c) 2010 Jonas Krogsboell inspired by code from Lewis R Cunningham
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
PROMPT -----------------------------------;
PROMPT -- Compiling objects for PL/JSON --;
PROMPT -----------------------------------;
@@uninstall.sql
@@src/json_value.typ
@@src/json_list.typ
@@src/json.typ
@@src/json_parser.sql
@@src/json_printer.sql
@@src/json_value_body.typ
@@src/json_ext.sql --extra helper functions
@@src/json_body.typ
@@src/json_list_body.typ
--@@src/grantsandsynonyms.sql --grants to core API
@@src/json_ac.sql --Wrapper to enhance autocompletion
PROMPT ------------------------------------------;
PROMPT -- Adding optional packages for PL/JSON --;
PROMPT ------------------------------------------;
@@src/addons/json_dyn.sql --dynamic sql execute
@@src/addons/jsonml.sql --jsonml (xml to json)
@@src/addons/json_xml.sql --json to xml copied from http://www.json.org/java/org/json/XML.java
@@src/addons/json_util_pkg.sql --dynamic sql from http://ora-00001.blogspot.com/2010/02/ref-cursor-to-json.html
@@src/addons/json_helper.sql --Set operations on JSON and JSON_LIST