cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Baldwin <>
Subject Re: Cayenne Modeler - DbEntity Configuration - Catalog
Date Mon, 06 Jul 2015 00:43:48 GMT
I guess these definitions change a bit given the DBMS.

Some discussions claim that Catalog is like Database, while Schema is like Table.   That seems
to fit with the Modeler’s implementation (MySQL), so that when the sql is generated it looks


MySQL Workbench has a section called “SCHEMAS”, which is, at the top level, a list of
database names (or Catalogs).

I guess what I take away from this, is that if I change DBMS, I should test by inspecting
the generated sql.


> On Jul 5, 2015, at 8:25 PM, Andrus Adamchik <> wrote:
>> On Jul 5, 2015, at 2:44 PM, Joe Baldwin <> wrote:
>> What does Cayenne Modeler -> DbEntity Configuration -> Catalog  configuration
field refer to?
>> (I could find no documentation on this.  The Javadocs simply note the name.)   It
appears to pre-append a name to the database-name in the generated SQL.
> Just like "schema", "catalog" is a database term standardized in JDBC (e.g.
> In the most general case, a database engine organizes its data in catalogs, catalogs
contain schemas, schemas contain tables. Not all DBs support catalogs and schemas, and not
all DB's are using these terms. E.g. in MySQL "database" is equal to JDBC "catalog" and there's
no schema concept. Oracle supports both catalogs and schemas, etc.
> Andrus

View raw message