-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Does Hibernate support Array for Oracle?
PostPosted: Sun Nov 04, 2007 8:22 pm 
Newbie

Joined: Sun Nov 04, 2007 8:11 pm
Posts: 4
Has anyone succeeded in using in an Array as input to an Oracle stored procedure?

I have a simple Oracle stored function taking 1 input as VARRAY:
{ ? = call abc.test_function( ? ) }

but couldn't find any instructions on building a Hibernate Java mapping for the input which is VARRAY in Oracle. Hibernate has this ArrayType class, however there isn't much info on how to use it.

Thanks


Last edited by leno on Mon Nov 05, 2007 1:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 04, 2007 11:33 pm 
Newbie

Joined: Sun Nov 04, 2007 8:11 pm
Posts: 4
I've searched around on the net and am surprised to find little info on the conversion of:

Hibernate ArrayType <----> oracle.sql.ARRAY

at all.

Essentially all I care is to pass a list of strings as input to the stored function. It can be done with Oracle and plain JDBC .. but what is the approach using Hibernate?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.