How to specify the schema when generating a model from an existing database

I was very excited to test out the new ability to generate a model from an existing database in Cuba Studio 2.1. However, I’m unable to specify the schema name - it defaults to “public” and there doesn’t appear to be any way to change this. Can you provide some guidance on how to specify the schema name?
Thanks,
Richard Conway

Hi Richard,
Unfortunately, Studio and applications can currently work only with default schema. We understand that this is a major shortcoming and will try to address it in the future versions.

A schema name can be specified for PostgreSQL and MS SQL Server since platform 6.2, see Connecting to a Non-Default Database Schema - CUBA Platform. Developer’s Manual

My database contains multiple schemas with various tables in each schema.
Is there a way to specify multiple schemas?

Hi,

Now you can specify custom DB Schema in connectionParams. It works for PostgreSQL and MS SQL. For more information see the documentation: Connecting to a Non-Default Database Schema - CUBA Platform. Developer’s Manual