I\'m busy on a piece of code to get alle the column names of a table from an Oracle database. The code I came up with looks like this:
DriverManager.register
In addition to skaffman's answer -
use the following query in Oracle:
select sys_context( 'userenv', 'current_schema' ) from dual;
to access your current schema name if you are restricted to do so in Java.