How to propagate a value back to the enclosing class in Java?
<p>I was looking at this example<a href="http://stackoverflow.com/questions/1703351/how-to-call-a-oracle-function-from-hibernate-with-return-parameter"> Oracle function from Hibernate</a>. It tells in the solution that:</p>

<pre><code>int result = call.getInt(1); // propagate this back to enclosing class
</code></pre>

<p>Can anyone point me to how this can be done?</p>
