Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting a Store Proc to a Java Function(Class)

 
San Nan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am having a store proc in backend (SQL Server) & instead of calling the store proc from java program ( through Callable) i want to make a function in java, which can be called without callable....

Please help me to provide solution by providing source code


Thanks


Nan
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that you are handling some complicated calculations in Stored Procedures and now intending to achieve it from within Java itself.

Even in the second case, you MUST make at least a SELECT operation in order to get the data over which you will iterate, read, ignore, add , multiply etc. and do your tasks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic