开发者

Does seqhilo generator work with NHibernate batching?

I'm aware that generators that require round trips to the database (identity in particular) don't work with batching, but does seqhilo work with batching? I开发者_JAVA技巧'm unclear on this as it does require one roundtrip to acquire the high value, but after that it has X low values to work with on the client side.


It works.

The generators that don't work with batching are those that require inserting the actual record in order to retrieve the Id value, like identity.

seqhilo is just a hilo implementation which uses real sequences instead of a sequence-like table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜