How to determine SQL latency using Hibernate @Formula Annotation
<p>I am attempting to determine the SQL call latency of several functions that use the @Formula annotation. I am under the assumption that the contents of the @Formula annotation are run prior to entering the function that is attached to, therefore using endTime - startTime would not make sense. Is this accurate?</p>

<p>Does anyone have any ideas on how to accomplish this? I am in a corporate environment and unfortunately cannot tinker with any config files.</p>

<p>If it matters, we are using Oracle RDS and Java.</p>

<p>Thanks</p>