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 3781356
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:56:00+00:00 2026-05-19T10:56:00+00:00

In Oracle 11g I have a stored procedure like this: PROCEDURE test_params (o_message_tbl OUT

  • 0

In Oracle 11g I have a stored procedure like this:

PROCEDURE test_params (o_message_tbl OUT core.message_tbl);

where

create or replace TYPE message_tbl AS TABLE OF core.message_obj;
create or replace TYPE message_obj AS OBJECT
              (code NUMBER (10, 0),
               type_code VARCHAR2 (10 CHAR),
               text VARCHAR2 (1000 CHAR)
              )

I am using Spring’s SimpleJdbcCall to call it, but it gives me “Invalid column type” exception. Is it possible to call such procedure and to read result in JDBC? If no, what other options are available except returning a cursor?

  • 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-05-19T10:56:00+00:00Added an answer on May 19, 2026 at 10:56 am

    Spring and SimpleJdbcCall don’t do anything fancy, they just make JDBC a bit easier to use.

    There’s an example of how to use TABLE return types in JDBC here:
    http://www.velocityreviews.com/forums/t138431-access-oracle-objects-via-plsql-from-jdbc.html

    You should be able to adapt that to SimpleJdbcCall fairly easily.

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

Sidebar

Related Questions

i have a simple oracle stored procedure proc1 as follows: CREATE OR REPLACE PROCEDURE
I have a stored procedure written under Oracle 11g and one of my out
I have a stored procedure in an Oracle 11g database like f(a IN, b
I am using oracle 11g and have written a stored procedure which stores values
I am using Oracle 11g, and I have a lot of stored procedure code
I create two table in my oracle (11g) database like this: create table test
I have the following statements in Oracle 11g: CREATE TYPE person AS OBJECT (
On an Oracle 11g engine using PL/SQL I have logic that runs like this
Problem Conditions I have a very simple Oracle (11g) Stored Procedure that is declared
I work with Oracle 11g. I have one table: create table test (one number(2),

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.