简体   繁体   中英

nhibernate session strange behavior

i have an app with fluent nhibernate mappings..

when i start the app first time and initiate a session and a configuration an a session factory for the first time i see in the console that the session do some updates inserts and select on my mapped class

any one can explain this please..?

i see stuff like AbstractEntityPersister.Insert

当应用程序第一次启动时,NHibernate为所有实体的CRUD操作创建静态SQL并将其缓存,从而不必为每个请求都创建它们。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM