I don't know if hibernate can get the next sequence number before it is generated in the database, but it sure can use them as they are intended to be used.
Something along these lines works. This will have hibernate insert rows into a table using the database's sequence algorithm to generate its primary key. The internal database sequence generator is named
nameOf_seq_generator
Code:
<id name="intSeqNo" type="java.lang.Integer" column="int_seq_no"
unsaved-value="null">
<generator class="native">
<param name="sequence">nameOf_seq_generator</param>
</generator>
</id>