Forum Stats

  • 3,817,312 Users
  • 2,259,310 Discussions
  • 7,893,745 Comments

Discussions

JDBC API - To get the current catalog/schema of the database

697330
697330 Member Posts: 11
Is there any JDBC API to get the current catalog/schema of the database. The solution needs to be generic so that it can be applied across databases..

For example,
- for Oracle i need to get the current schema of the session
- for SQL Server i need to get the current catalog and schema for the session
....
...
Tagged:

Answers

This discussion has been closed.