nhibernate - use of ID generator from Oracle custom function -


i'm using nhibernate trying primary key id after insert (.saveorupdate() call). our oracle table generate pk id own custom function, sequence.nextval isn't correct id that's saved in table. how define mapping (.hbm.xml file) can actual id that's inserted table?

i have following, sequence coming not valid one:

<generator class="native">     <param name="sequence">seq_jobid</param> </generator> 

is there other way inserted pk client?

thanks.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -