Answer Posted / ramu
. To create connection first we have to load the driver using
class.forName(drivername)
. Get a connection to the database using DriverManager.getConnection()
after wards you can create Statement object and u can
execute the query
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of statement in jdbc?
What is jdbc template?
How can I get or redirect the log used by DriverManager and JDBC drivers?
What is a statement in java?
What are the jdbc api components?
What is JDBC RowSet? What are different types of RowSet?
Under what circumstances, that all four drivers are used?
Explain the life cycle of jdbc.
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
How many types of jdbc drivers are available?
Where can I find info, frameworks and example source for writing a JDBC driver?
What is the full form of jdbc and what is its purpose?
What is jdbc connection string?
How many ways that we can view a result set?
What is statement and preparedstatement in java?