How to reliably retrieve tables and columns information stored in Torque Criteria object
- by David Zhao
Hi there,
Is there a way to retrieve tables, including alias tables, and columns, including alias columns, from an Apache Torque Criteria object reliably?
I understand that there is methods like: getSelectedColumns, getAsColumns(), getJoins(), etc., but for examples, getJoins() will just return a list of joined tables strings in free text, where one has to use regular expression to extract the needed joined table information out of it.
Thanks in advance!
David