Return 2 values (string, number) multiple rows, from java stored function
- From: "dennis" <dennisk68@xxxxxxxxx>
- Date: 26 Sep 2005 10:48:52 -0700
I would like to return 2 values (String, number prefered but String,
String will work) from a java stored function.
I was able to successfully return a varray of varchar2 values but I was
wondering if it is possible to return 2 values by using a varray?
Is it even possible? I tried using combinations of types which included
a varray of objects (with 2 attributes) or a type as table of objects
but I couldn't figure out how in my java code to set these values. Also
what would my java function return type be and what Oracle type would
map to it?
Any help and examples or pointers would be great.
Thanks,
Dennis
.
- Follow-Ups:
- Re: Return 2 values (string, number) multiple rows, from java stored function
- From: Thomas Hawtin
- Re: Return 2 values (string, number) multiple rows, from java stored function
- Prev by Date: finding CHECK constraint with DatabaseMetaData
- Next by Date: Re: Return 2 values (string, number) multiple rows, from java stored function
- Previous by thread: finding CHECK constraint with DatabaseMetaData
- Next by thread: Re: Return 2 values (string, number) multiple rows, from java stored function
- Index(es):
Relevant Pages
|
|