There is a connection to the database. The scheme is unknown in advance. How to find out which tables are in the database?
OracleDataSource ods = new OracleDataSource(); // Здесь остальные параметры подключения // ... Connection conn = ods.getConnection();