开发者

Java web service invoking a stored pocedure

Does anybody have a example Java web srevice to invoke a stored procedure 开发者_如何学Goin the database.


A java webservice shouldn't connect directly to a database, but go through a database layer.

For java to use a stored procedure use the prepareCall method in JDBC as seen here:

http://download.oracle.com/javase/tutorial/jdbc/basics/storedprocedures.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜