im trying to get the currval from a sequence, this is what i have:
Please notice, that im already calling SEQUENCE.nextval before the SEQUENCE.currval in the same Hibernate session
Hibernate Mapping File:
    <id column="SYSTEM_VERSION_ID" name="systemVersionId">
        <generator class="sequence">
            <param name="sequence">SEQ_SYSTEM_VERSIONS</param>
            <param name="value_column">curr_val</param>
        </generator>
    </id>
I thought curr_val or currval as value_column will do the trick but no, it keeps performing nextval and printing: Hibernate: select SEQ_SYSTEM_VERSIONS.nextval from dual.