You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2018/11/14 05:35:00 UTC

[jira] [Closed] (CAY-2495) Iterate thought all queries, apply template, get raw SQL

     [ https://issues.apache.org/jira/browse/CAY-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-2495.
--------------------------------
    Resolution: Information Provided

> Iterate thought all queries, apply template, get raw SQL
> --------------------------------------------------------
>
>                 Key: CAY-2495
>                 URL: https://issues.apache.org/jira/browse/CAY-2495
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>    Affects Versions: 3.1.2
>            Reporter: Alexander Petrossian (PAF)
>            Priority: Major
>
> Friends, please share your vision.
> I got a project with lots of Apache Cayenne mappings (2.0), and database is not documented at all.
> All insights about links between tables (about 2 thousands of tables) I can get is only from queries found in Cayenne mappings (several megabytes of those).
> Those tables I can quick analyse with JSQLParser. But it needs raw SQLs.
> Question: Is there some easy way to programmatically iterate through all queries and apply templates to get those raw SQLs?
> (Any hints would be very appreciated!)
>  
> [https://github.com/JSQLParser/JSqlParser/issues/710]
> [https://sourceforge.net/p/jailer/feature-requests/52/]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)