Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
change the oracle package name. added method to check to see if a nod…
…e is registered by external id.
- Loading branch information
Showing
7 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
create or replace function fn_transaction_id | ||
CREATE OR REPLACE function fn_transaction_id | ||
return varchar is | ||
begin | ||
return DBMS_TRANSACTION.local_transaction_id(false); | ||
end; | ||
/ | ||
CREATE OR REPLACE function isTriggerDisabled return varchar is | ||
CREATE OR REPLACE function fn_trigger_disabled return varchar is | ||
begin | ||
return pack_var.disable_trigger; | ||
return pack_symmetric.disable_trigger; | ||
end; | ||
/ | ||
CREATE OR REPLACE package pack_var as | ||
CREATE OR REPLACE package pack_symmetric as | ||
disable_trigger pls_integer; | ||
procedure setValue (a IN number); | ||
end pack_var; | ||
end pack_symmetric; | ||
/ | ||
CREATE OR REPLACE package body pack_var as | ||
CREATE OR REPLACE package body pack_symmetric as | ||
procedure setValue(a IN number) is | ||
begin | ||
pack_var.disable_trigger:=a; | ||
pack_symmetric.disable_trigger:=a; | ||
end; | ||
end pack_var; | ||
end pack_symmetric; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters