Hi all, OK, I'm trying to load a Schema from the database to generate entity classes later. Now, I will provide a GUI to let the user choose the server connection, catalog, schema and tables to process. So I want to provide three combos, one for connection, one for catalog and one for schema, and also a list for tables. I have this same setup working with Schemacrawler library.
This is my code so far: private JDBCConfigurationImpl jdbcConf = new JDBCConfigurationImpl(); private SchemaGenerator schemaGenerator = null; jdbcConf.setConnectionDriverName(databaseConnection.getDriverClass()); jdbcConf.setConnectionURL(databaseConnection.getDatabaseURL()); jdbcConf.setConnectionUserName(databaseConnection.getUser()); jdbcConf.setConnectionPassword(databaseConnection.getPassword()); schemaGenerator = new SchemaGenerator(jdbcConf); Now, I see how to get the schemas, but cannot find how to get the catalogs: schemaGenerator.getSchemaGroup().getSchemas() Is there any other term for "catalog" in OpenJPA parlance ?? Am I missing something ?? Thanks in advance, Daniel -- View this message in context: http://n2.nabble.com/Terms-for-catalog-and-schema-tp4801224p4801224.html Sent from the OpenJPA Users mailing list archive at Nabble.com.