Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
qir
Commits
e2874361
Commit
e2874361
authored
Jul 27, 2015
by
Julien Lopez
Browse files
Options
Downloads
Patches
Plain Diff
Add simple README
parent
564baee7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
QIR/README
+5
-0
5 additions, 0 deletions
QIR/README
QIR/src/qir/driver/OracleDriver.java
+1
-1
1 addition, 1 deletion
QIR/src/qir/driver/OracleDriver.java
with
6 additions
and
1 deletion
QIR/README
0 → 100644
+
5
−
0
View file @
e2874361
This project is an implementation of the Query Intermediate Representation.
== Build ==
To create the archive qir.jar, run ant on the root directory.
This diff is collapsed.
Click to expand it.
QIR/src/qir/driver/OracleDriver.java
+
1
−
1
View file @
e2874361
...
...
@@ -130,7 +130,7 @@ public class OracleDriver extends DBDriver {
oraArguments
+=
") RETURN NUMBER"
;
String
addOrUpdate
=
update
?
"update"
:
"add"
;
String
query
=
"begin sys."
+
addOrUpdate
+
"_
SLSQL
_Function ('scott', '"
+
name
+
"', ' "
+
oraArguments
+
" ', '"
+
function
+
"'); end;"
;
String
query
=
"begin sys."
+
addOrUpdate
+
"_
UDF
_Function ('scott', '"
+
name
+
"', ' "
+
oraArguments
+
" ', '"
+
function
+
"'
, 'SLSQL'
); end;"
;
try
(
Statement
stmt
=
conn
.
createStatement
())
{
stmt
.
executeUpdate
(
query
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment