Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebird Database support Schema? If so, how can I create a schema in Firebird DB through ISQL?

Does Firebird Database support Schema? If so, how can I create a schema in Firebird DB through ISQL? Please help me to create schemas in Firebird DB. I have tried to retrieve schema using

AbstractDatabaseMetaData.getSchemas()

But it is always retrieving empty resultset. Can anyone please help me in retrieving schemas? At least SYSTEM schema when there is no schema.

like image 854
user1615969 Avatar asked Mar 21 '23 07:03

user1615969


1 Answers

Firebird currently doesn't have schemas, and therefor Jaybird doesn't return any. This complies with the JDBC specification, which says:

If a given form of metadata is not available, an empty ResultSet will be returned.

Note that Firebird does have a CREATE SCHEMA, but that is simply an alias for CREATE DATABASE.

like image 99
Mark Rotteveel Avatar answered Apr 27 '23 05:04

Mark Rotteveel