• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting Array of String to callable statement ?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ,

I want to set array of String to callable statement .

with OracleCallable statement it is easy to do with the help of cstmt.setARRAY()

but i with normal callable statement though it provides us serArray() but we have to create ARRAY object with the help if ArrayDesriptor() which again takes connection io its constructor ...

and it works only if your connection is oracleConnection

but if your connection is other than that OracleConnection (WSJdbcConnection) then it says classcast exception

so i cant use ArrayDescriptor method ...

Is there any other way of pass array to callable statment

Thanks in Advance
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic