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 |
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
What is ear file?
Can I run seam in a j2ee environment?
What is filter chain?
Is advanced java and j2ee same?
Describe secure socket layer (ssl)?
What does resource adapt module contain?
How does javac compiler work?
Which framework is best for java?
What is bean factory, have you used xmlbean factory?
Which software is used for java?
What is a java application client?