-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathaqjmskprb01b.sql
43 lines (38 loc) · 983 Bytes
/
aqjmskprb01b.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
Rem
Rem $Header: aqjmskprb01b.sql 05-jun-2007.15:02:53 aatam Exp $
Rem
Rem aqjmskprb01b.sql
Rem
Rem Copyright (c) 2002, 2007, Oracle. All rights reserved.
Rem
Rem NAME
Rem aqjmskprb01b.sql - <one-line expansion of the name>
Rem
Rem DESCRIPTION
Rem defines java stored procedure for AQ/OJMS kprb driver demo
Rem
Rem NOTES
Rem <other useful comments, qualifications, etc.>
Rem
Rem MODIFIED (MM/DD/YY)
Rem aatam 06/05/07 - password need to be consistent
Rem jleinawe 09/04/02 - jleinawe_new_aq_demos
Rem jleinawe 08/30/02 - Created
Rem
set echo on
set serveroutput on
connect jmsuser1/JMSUSER1
--
-- define the kprb driver demos in the database
--
create or replace package jmsdemo authid current_user as
procedure start_me(t1 VARCHAR2);
end jmsdemo;
/
create or replace package body jmsdemo as
procedure start_me(t1 VARCHAR2) is language java
name 'aqjmskprb01.main (java.lang.String[])';
end jmsdemo;
/
show errors
quit;