STEPS TO CONNECT TO DATABASE USING JDBC (T ype 4 driver) Software Required: 1)Oracle 11g Express Edition: For downloading and installing refer--> LINK 2) Eclipse IDE: I have used Juno,you can use any other version.For download link and information refer---> LINK 3) Oracle Driver (ojdbc6.jar file): download from here---> LINK NOTE: For JDBC we need a table in the database to work with.When you install 11g, HR schema is automatically created.We will use the LOCATIONS table for this tutorial. HR schema is locked by default. To unlock it you can login as system (When you started installing oracle ,it asked for global database name and database password that password is used for the sys, system, sysman, dbsnmp account .) 1. Try to login as "system" - pass SQL> conn system/password; 2. Unlock "hr" ...
Posts
Showing posts with the label JDBC Program