开发者

static sql for entity in nhibernate log file

I am using nhibernate to query my db and am seeing various statements in my log files as follow -

static sql for entity static select for entity version select snapshot select

followed by queries using my domain entities.

I believe these are common when building a session factory, but I just wanted to make sure. Does anyone know what these entries mean?

开发者_开发百科

thanks for any help.


It's just letting you know the sql it's going to use the predictable queries such as get by id etc. They are created when setting up the session factory and then cached for optimization. Very normal.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜