• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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.
 
Sheriff
Posts: 27227
87
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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic