How to conect to oracle database
below are the steps involved to establish connection between our java program with Oracle database
1)IDE(Eclipse)
2)Oracle Database
3)importing driver
how to find ojdbc8.jar file
1) start menu on windows search sql
2) click on open file location
3) right click on sqlplus
4)search for jdbc file(open it)
5)open lib file (inside lib choose ojdbc8.jar file)
importing steps
1)right click on project
2)go to build path
3)classpath
4)add external jar
5)choose location where you kept your ojdbc8.jar file
6)apply, apply and close
4)loading driver
5)Creating connection
6)preparing statement
7)executing query
8)closing connection
On this page of the site you can watch the video online jdbc first program(connect java program to oracle database) with a duration of hours minute second in good quality, which was uploaded by the user JavaMantra 27 May 2024, share the link with friends and acquaintances, this video has already been watched 214 times on youtube and it was liked by 7 viewers. Enjoy your viewing!