go top

双语例句

  • We should create a SessionFactory object only once when the application starts.

    我们应该仅仅应用程序启动的时候创建SessionFactory对象

    youdao

  • To simplify working with the JCR, the module adds the SessionFactory interface.

    为了简化JCR工作模块增加SessionFactory接口。

    youdao

  • We will make one more change to hibernate.cfg.xml that will make reusing SessionFactory easy.

    我们 hibernate.cfg.xml 文件一些修改,使重新使用 SessionFactory 更加得容易。

    youdao

更多双语例句

百科

sessionfactory

SessionFactory接口:SessionFactory接口负责初始化Hibernate。它充当数据存储源的代理,并负责创建Session对象。这里用到了工厂模式。需要注意的是SessionFactory并不是轻量级的,因为一般情况下,一个项目通常只需要一个SessionFactory就够,当需要操作多个数据库时,可以为每个数据库指定一个SessionFactory。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定