This doesn't really belong to the topic, but you have to use CreateSqlQuery, if 
you want to get the next value of a sequence using plain SQL. 
BTW, NHibernate will automatically retrieve the next value of a sequence when 
saving a new entity, there's no need to do this manually.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhcdevs/-/-atclxKZ77IJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhcdevs?hl=en.

Reply via email to