Home:ALL Converter>Get from oracle sequence with hibernate

Get from oracle sequence with hibernate

Ask Time:2011-01-30T22:47:40         Author:Dvora

Json Formatter

I am working with hibernate, and a oracle 10 db. I need to get the next sequence value from a table, and want to know how. I saw this article, and asking: is there a better way the get the value, without defining a query?

Thanks!

Author:Dvora,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/4843490/get-from-oracle-sequence-with-hibernate
yy