Originally posted by bhagya raavi:
thanku,sir
but all that are correct only
Baghya,
I doubt it.
Looks like you are using Oracle Express Edition (XE) database.
I don't think the SCOTT sample schema is installed on that database.
XE installs the HR sample schema.
Your database connection URL also looks incorrect and package "oracle.jdbc.driver" has been deprecated.
Now can you verify your claim that all the above is correct?
If you haven't already done so, I recommend reading the
JDBC Developer's Guide and Reference which is part of the Oracle documentation and is available online.
Just google it.
You need the Oracle 10
g documentation.
Good Luck,
Avi.