This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I created a database named Test that included a table: Student (rollno, uid, pwd)
I want to add a new record through a java application. I've connected to database through driver 4 ok. but I can execute a procedure.
See what exactly i coded
And the code that have trouble
I don't know where it got wrong. But anyone can show me a suggestion.
I uploaded my whole project. I'd grateful if you would correct it for me.
I don't expect anybody is going to want to download your "project" (even if it does happen to be compatible with an IDE which they have) and install a database and configure tables and stored procedures and so on. It would be better if you did a little bit of investigation on your own. Let's start with the phrase "have trouble" which you used in your post. What does that mean? Are you unable to compile the code? Do you get exceptions when you run it? Or does it just do something different than what you expected? Read TellTheDetails for more information.