Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
zahid.sabreen
Starting Member
14 Posts |
Posted - 2011-01-18 : 01:23:54
|
| i need to write a wrapper for a t-sql stored procedure and export it as a jar file. can anyone please help me how to expose a warpper as a jar file. |
|
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2011-01-18 : 06:44:18
|
| You would need to write a piece of java code and package it as a jar file. You would need the JDBC driver. Here is an example (it uses an ad-hoc query in the example, but using stored procedures is very similar.) http://marakana.com/blog/examples/java-jdbc-example-basic-database-operation.htmlMore details on JDBC drivers here: http://msdn.microsoft.com/en-us/sqlserver/aa937724 |
 |
|
|
zahid.sabreen
Starting Member
14 Posts |
Posted - 2011-01-19 : 00:28:24
|
| Hi, I need help with the packaging of piece of code into jar also.After establishing the jdbc connection how do i expose it as a jar so that any java function can use it.p.s- store procedure is in t-sql.ThanksSabreen |
 |
|
|
zahid.sabreen
Starting Member
14 Posts |
Posted - 2011-01-19 : 00:29:10
|
Thanks SunitaBeck for your help |
 |
|
|
|
|
|