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.  [ 1 post ] 
Author Message
 Post subject: Passing array of values to Stored procedure using Hibernate.
PostPosted: Tue Jan 12, 2010 8:19 am 
Newbie

Joined: Tue Jan 12, 2010 8:11 am
Posts: 1
I am successfully able to execute stored procedures to fetch / query resultset from database using namedquery.
Those stored procedures take simple datatypes as parameters.
Now I have a requirement where stored procedure takes in Array of varchar2.
I am not able to pass array of String from java to database.
Mainly I am using EJB3 JPA and then I convert it to hibernate query object. and try to set list using setParameterList method.

Any pointers will be really helpful about how to pass array of a type to stored procedure using EJB3 or hibernate.
Thanks


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

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.