aspose file tools*
The moose likes JDBC and the fly likes Update Query with CallableStatement in java example. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Update Query with CallableStatement in java example." Watch "Update Query with CallableStatement in java example." New topic
Author

Update Query with CallableStatement in java example.

Rd Dari
Ranch Hand

Joined: Feb 22, 2010
Posts: 202


hi all Ranchers,

How to update a table row using Stored Procedures in java

Thanks in advanced!!
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3438
    
  47

This is a very broad question.

Generally, you'd code your stored procedure (which will probably have as many parameters as needed to do the update), and use a PreparedStatement (or CallableStatement if it is a function or otherwise returns some value) to call it. The details are described in Oracle's JDBC tutorial.

However, updating a single record is easily doable in Java without any help of a stored procedure.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Update Query with CallableStatement in java example.
 
Similar Threads
Is Fowarder-receiver promiscuous?
How Multiple Inheritance can be achieved in Java ?
Java versions?
File folder access through java with user name/password authentication
Blank page for Glassfish Admin Console