Lab2: Simple JDBC
Using a text-based client:
a.) Login on any Sun machine (e.g. cassiopeia.cs.uchicago.edu)
b.) Run:
sqlplus <user>@${ORACLE_DB}
(replace <user> with your database user name communicated by Mark).
If you are not able to run "sqlplus" without manually sourcing your .bashrc then try the following:
>cd
>mv .bash_profile .bash_profile.bak
>ln -s .bashrc .bash_profilec.) More information on using sqlplus and SQL is available here. (Please ignore "Getting an account" and "Logging-in" sections)
Ask questions! Sun's JDBC tutorial or Mark's JDBC slides might be helpful to understand what's going on.
JDBC Short Course: Using MetaData