Re: Questions about the modeler

Andrus Adamchik <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Hi Tony,

We do not generate this SQL. Schema retrieval is abstracted by the JDBC API, so specifics are hidden within a given driver. All we do is this:

  DatabaseMetaData md = connection.getMetadata();
  md.getTables(..);
  md.getColumns(..);
  md.getImportedKeys(..);

Andrus


> On Nov 22, 2021, at 1:11 AM, Tony Giaccone <[email protected]> wrote:
> 
> 
> Two questions about reverse engineering.
> 
> Is there a setting that will cause the modeler to emit the SQL that is used to read tables and schema information?
> 
> Second is where is it in the modeler that generates this sql?
> 
> 
> 
> Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.