You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nhusers, fluent-n...@googlegroups.com
is this possible?
The business requirements consist of a key for the table (also
generated by sequence), and an additional user-friendly value which is
generated by a sequence.
fel0nious
unread,
Dec 1, 2010, 2:23:00 PM12/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fluent NHibernate, nhu...@googlegroups.com
I found this over on StackOverflow: Fluent Nhibernate - Generate a non-primary-key sequence generated value http://j.mp/h0wr3h
.. which indicates the only solution might be to hook into OnPreInsert, making a standard query to invoke the sequence and get its value.
Is this really the best I can do? Seems like waste to make an extra database call on insert ...