Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8705525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:22:59+00:00 2026-06-13T03:22:59+00:00

I have complex procedures in oracle package with complex in/out parameters. I will show

  • 0

I have complex procedures in oracle package with complex in/out parameters. I will show one of the my procedures in following :

 PROCEDURE Authorize(PO_ErrorCode         OUT NUMBER,
                     PO_ErrorText         OUT VARCHAR2,
                     PI_Count             IN NUMBER,
                     PI_Setting           IN Setting,
                     PI_InputData         IN InputData,
                     PO_PreData           OUT InputData);

and will show two structures Setting and InputData in following:

CREATE OR REPLACE TYPE Setting as object( ProviderType  NUMBER
                                          SwitchCode    NUMBER)

CREATE OR REPLACE TYPE Input_Data Is Table Of MainInputData;

CREATE OR REPLACE TYPE MainInputData as object( itemId            NUMBER,
                                                itemValue         NVARCHAR2(150),
                                                itemEncyptd       NUMBER,
                                                itemEncryptKey    RAW(16));

with above description I have several structure contain : Type, Array, Array of Type and Array of Primitive.

I call this function by jdbc and oracle driver and related classes such as STRUCT& ARRAY but generated a lot of and complex code for this goal.

My question is : Is there utility or framework for do this task by simple code?
I know spring has a jdbc utility but I haven’t experience with it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:23:00+00:00Added an answer on June 13, 2026 at 3:23 am

    You can use spring utility.

    There is a class StoredProcedure where can you declare all your input and output parameters and their types inside the constructor using sqlOutParameter and sqlInParameter.

    In your case there are 3 input parameters, to pass this you can overwrite execute method with 3 arguments and call

    super.execute(a,b,c)

    This link will be helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am inside oracle procedure I have a complex query with join which gives
Right now I have an Oracle stored procedure with IN and OUT params. The
I have a complex sql query that I have in a stored procedure and
I have some complex message to show inside of a flash message so instead
I have about half a dozen generic, but fairly complex stored procedures and functions
I have a fairly complex procedure that currently takes about 1:30 (min:sec) to complete.
Using a stored procedure i have a fairly complex SQL statement which returns a
I am using Oracle 11g, and I have a lot of stored procedure code
I like to minimize the number of stored procedures I have by having a
I have a complex stored procedure that has to return Sum of AmountSold as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.