Then I am more confused. I found that in my jdbc code, I never specifies the "schema", I only specified the instance. How could that work ? As many beginners I am using Oracle 10g XE version and found it is very cool.
My second question is -- in most of the
java jdbc sample codes, it specifies the connection as follows
String driver = "oracle.jdbc.driver.OracleDriver";
String url = "jdbc

racle:thin:@localhost:152:abc";
String username = "scott";
String password = "tiger";
Class.forName(driver);
DriverManger.getConnection(url,username, password);
...
So they never specify the "schema". How come ???
Thanks.