How to make SQl JDBC | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make SQl JDBC

How to make SQl JDBC connection

24th Sep 2017, 3:54 PM
Anonymous
Anonymous - avatar
1 Answer
+ 3
depends on the driver and connection type. in case of Oracle SQL, use this code line in Java Program:- Connection cn=Driver Manager.getConnection("jdbc:oracle:thin@localhost:1521:xe","Database Username","Password");
24th Sep 2017, 8:40 PM
Kunal Sharma
Kunal Sharma - avatar