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/ -- PAF P.S. tried to discuss it here first: https://jira.apache.org/jira/browse/CAY-2495
