Framework for parsing SQL queries out of Java code?
user376 Published in July 15, 2018, 9:19 pm
I would like to parse my SQL queries out of my Java source code. The queries are of all types and include of a variety of quotation marks and new line characters. They are often assigned to a variable within the source, like:
String query = "Select a from b..."
Is anyone aware of a framework to parse SQL queries from Java code?