Connecting to database in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Connecting to database in Java

Why doesn't these tutorials explain how to connect to databases?

20th Jan 2019, 8:36 PM
Donald Faulknor
Donald Faulknor - avatar
7 Answers
+ 1
Java is a language that is not directly related to network and the internet. To connect a project in Java to a database you'll need to import a library which is no longer a part of the official guide to Java since there are many libraries and none of them is Sun's (Oracle's). Anyway, there are more than enough guides on the internet on how to connect your Java project to a database.
21st Jan 2019, 6:59 AM
Eldar Bakerman
+ 1
Thanks for the answer. I'm just thinking, not possible to make a game without db connection, right? But most games on Android use Java.
26th Jan 2019, 2:47 AM
Donald Faulknor
Donald Faulknor - avatar
+ 1
My expert knowledge is in php. That's easy in terms of db connection. Lol
26th Jan 2019, 2:48 AM
Donald Faulknor
Donald Faulknor - avatar
0
Because it is an extension, and will ever be. No. Matter of the practicality
26th Jan 2019, 1:55 PM
Eldar Bakerman
0
Thanks Eldar. My expertise is in web programming. As I learn computer programming (and app development) I find the database usage hard to grasp. Like how to create user accounts and store user into in database.
26th Jan 2019, 4:16 PM
Donald Faulknor
Donald Faulknor - avatar
0
Is there another language I should be learning in conjunction with Java that will solve my db issues?
26th Jan 2019, 4:17 PM
Donald Faulknor
Donald Faulknor - avatar
0
SQL
2nd Feb 2019, 12:27 PM
Eldar Bakerman