In real time project which driver did u use? What is the
main functionality of the Prepared Statement?
Answers were Sorted based on User's Feedback
Answer / sujith
If you dont know the correct answer pls...dont blobbbb
something to misguide others..
Type-4 driver is used in real time projeects.. Driver
related information are loaded during the runtime.
PreparedStatement is pre-Compiled statement. we can execute
more than 1 query at a time...
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dsr
In real time project,We can use type-4 driver.This is fully
java based driver.Prepared statement:This is pre-compiled
sql query.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anjaneyulu
Actually type1 driver used because we can access any type of driver not only java related.
when ever developing the application javabase suggested to Type4 driver but i am not interest java technology it is not suggested or WHEN CHANGE UR TECHNOLOGY IT IS NOT SUGGESTED ,SO THAT COMPANIES PREFRED TO TYPE1 driver
eg: WEBSERVICES TECHNOLOGY SUPPORT ALL TECHNOLOGY(JAVA,NET,PHP,.......) THIS CASE USED TYPE1 DRIVER
| Is This Answer Correct ? | 0 Yes | 3 No |
What are different types of inner classes ?
There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.
Why is string builder not thread safe?
Can a constructor be protected?
Is hashmap thread safe?
What is escape analysis algorithm in JVM and how garbage collection actually worked n how it transfer the objects from one kind of space to other?
what is server side caching?
Give us a program to check for parenthesis matching using stack.
Describe method overriding
What is java and their uses?
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?
What do you mean by default constructor in java?