import java.sql.*; import java.io.*; class ClassName { public static void main( String args[ ] ) throws SQLException { DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver( ) ); Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@172.20.4.9:1521:aero", "userid", "password" );
——>
SQL*Plus commands——>
SQL commands——>
JDBC programs