• 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

defining stored procedure call in xml for Sybase

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any java api available that I can use to define database sp calls in xml and fire them against a Sybase server. If yes how to use it.

Thanks in advance.
 
Swapnil Shroff
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More details

I have a requirement where by I need to call existing legacy stored procedure on Sybase database on from java and calls are defined in XML.

I want to store the database call in XML format and store result set returned into a map object as key value pairs, where column name is a key and then have a list of these map objects.
Also, it is possible that procedure may not return any result set. In that case only sp should be executed(may be a insert sp).
Also I don't want to create any hierarchy of vo objects. The call should be direct to database.

How can I achieve this using iBatis/hibernate/any other tool. Please advice.
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Swapnil Shroff:
How can I achieve this using iBatis/hibernate/any other tool.

Yes, I didn't really think this was an XML question. Let's move it to the forum about iBatis and Hibernate and so on.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic