Plsql object type pass to Java function
up vote
0
down vote
favorite
Can plsql object type directly to java method/function as in and out paramter?
I tried to pass the plsql object type with Struct, it can able to compile the program. However, I do not know how can java accept this object and to be converted to java object.
Something like below example. Thank you very much
create or replace package body TYPE_ADD_TEST is
FUNCTION Test_ADD(in_address IN add_typ
) RETURN varchar2 IS LANGUAGE JAVA
NAME 'TestPrg.TestAddress(java.lang.Struct
) return Struct';
end TYPE_ADD_TEST;
java plsqldeveloper
add a comment |
up vote
0
down vote
favorite
Can plsql object type directly to java method/function as in and out paramter?
I tried to pass the plsql object type with Struct, it can able to compile the program. However, I do not know how can java accept this object and to be converted to java object.
Something like below example. Thank you very much
create or replace package body TYPE_ADD_TEST is
FUNCTION Test_ADD(in_address IN add_typ
) RETURN varchar2 IS LANGUAGE JAVA
NAME 'TestPrg.TestAddress(java.lang.Struct
) return Struct';
end TYPE_ADD_TEST;
java plsqldeveloper
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Can plsql object type directly to java method/function as in and out paramter?
I tried to pass the plsql object type with Struct, it can able to compile the program. However, I do not know how can java accept this object and to be converted to java object.
Something like below example. Thank you very much
create or replace package body TYPE_ADD_TEST is
FUNCTION Test_ADD(in_address IN add_typ
) RETURN varchar2 IS LANGUAGE JAVA
NAME 'TestPrg.TestAddress(java.lang.Struct
) return Struct';
end TYPE_ADD_TEST;
java plsqldeveloper
Can plsql object type directly to java method/function as in and out paramter?
I tried to pass the plsql object type with Struct, it can able to compile the program. However, I do not know how can java accept this object and to be converted to java object.
Something like below example. Thank you very much
create or replace package body TYPE_ADD_TEST is
FUNCTION Test_ADD(in_address IN add_typ
) RETURN varchar2 IS LANGUAGE JAVA
NAME 'TestPrg.TestAddress(java.lang.Struct
) return Struct';
end TYPE_ADD_TEST;
java plsqldeveloper
java plsqldeveloper
edited Nov 9 at 4:12
asked Nov 9 at 3:24
barbe cuee
113
113
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219410%2fplsql-object-type-pass-to-java-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown