Login
Remember
Register
Ask a Question
Essential Tips to connect database in java?
0
votes
asked
Oct 10, 2020
in
JAVA
by
Robindeniel
How to connect database in java?
#java-database-connection
#database-connect
#connect-database-in-java
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 10, 2020
by
SakshiSharma
Install or locate the database you want to access.
Include the JDBC library.
Ensure the JDBC driver you need is on your classpath.
Use the JDBC library to obtain a connection to the database.
Use the connection to issue SQL commands.
...