oracle - how to access multiple users' database via JDBC -
I have an account in the Oracle database, I can connect it to my Java code via jdbc.
When I use the database from Oracle SQL Developer, under "Connection" -> "Other User", then I can access their tables (I have been privileged
< P>
You need to prefix the name of the table with the schema name, which is in the oracle Name.
Choose from some_exactions * heir_table;
If hardcoded in SQL statement Or username is a problem, you can make Java configurable in any way or set a table nickname (synonyms) on the Oracle in your own schema.
Comments
Post a Comment