I doubt this will help (I think you forgot to link the text Pathik)
____________
@tushar087: You can use java.sql package for the purpose. It can update the database (means generate sql queries) as well as select fields or cells from database through Java Database Connectivity API (JDBC).
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.