Database SSK3408-Chapter05
Database SSK3408-Chapter05
Database SSK3408-Chapter05
Application faces the same problem as Notepad or any other application trying to
access data in an unknown format.
A software interface is needed between your web application and the database
allowing the application and the database to talk to each other.
JDBC
Create a statement
classes12.jar &
nls_charset12.jar
Edit CLASSPATH
.;D:\app\Admin\product\11.1.0\client_1\jdbc\l
ib\classes12.jar;D:\app\Admin\product\11.
1.0\client_1\jdbc\lib\nls_charset12.jar
4. Create a Statement
Statement stmt = conn.createStatement();
5. Execute a Query
String query = Select empid, fname, salary, commission from employee;
Resultset rs = stmt.executeQuery(query);