How to connect database using Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to connect database using Java?

I want to create the program using database to save the data. how to create the connection with db?

20th Aug 2017, 4:15 AM
Meshitbayev Yerzhan
Meshitbayev Yerzhan - avatar
2 Answers
0
using jdbc?
20th Aug 2017, 4:15 AM
Meshitbayev Yerzhan
Meshitbayev Yerzhan - avatar
0
create the class, and define the the username of db, URL, password and driver. download the jdbc of ur db. configure jdbc driver to ur ide
27th Dec 2017, 7:24 PM
Meshitbayev Yerzhan
Meshitbayev Yerzhan - avatar