to update a batch in a table in jdbc which method of
statement object is used.
Answers were Sorted based on User's Feedback
Answer / surima
First add the sql querys to statement object via
stmt.addBatch(strupdQry)
then write stmt.executeBatch()
Is This Answer Correct ? | 21 Yes | 1 No |
Answer / chandran
to update a batch in a table Prepared Statement is used and
the method executeUpdate(), is used
Is This Answer Correct ? | 4 Yes | 15 No |
What is javaserver pages standard tag library (jstl)?
What is j2ee architecture?
What are the four components of j2ee application?
What is context root?
What every java developer should know?
Is a relationship java?
What spring is in related to j2ee?
What is a jbutton in java?
What is container-managed persistence?
Which of the following are subclasses of java awt component?
i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it
i have to create an application with session.during that session a timer will be started & show the time in second upto the session expired.So that i can know how many time i in that session. Hint:-i m hinted that it will coded with javascript