Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling Stored Proccedure with Spring

567830Mar 19 2007 — edited Sep 21 2007
Hi there,

I am trying to figure out the best way to call a complex Oracle Stored Procedure using Spring and possibly toplink.

Have implemented a couple of simple stored procedures using the Spring StoredProcedure class.

However the challenge now is calling the stored procedure with %ROWTYPE and Table Type parameters in the Stored Procedure Signatures.
PROCEDURE release_batch (
      p_api_version                IN              NUMBER
            := gme_api_pub.api_version,
      p_validation_level           IN              NUMBER
            := gme_api_pub.max_errors,
      p_init_msg_list              IN              BOOLEAN := FALSE ,
      p_commit                     IN              BOOLEAN := FALSE ,
      x_message_count          OUT NOCOPY      NUMBER,
      x_message_list              OUT NOCOPY      VARCHAR2,
      x_return_status             OUT NOCOPY      VARCHAR2,
      p_batch_header             IN              gme_batch_header%ROWTYPE,
      x_batch_header             OUT NOCOPY      gme_batch_header%ROWTYPE,
      p_ignore_shortages         IN              BOOLEAN,
      p_consume_avail_plain_item   IN              BOOLEAN DEFAULT FALSE ,
      x_unallocated_material     OUT NOCOPY      gme_api_pub.unallocated_materials_tab,
      p_ignore_unalloc             IN              BOOLEAN DEFAULT FALSE
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2007
Added on Mar 19 2007
3 comments
4,854 views