• 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

  • Finally, we perform regular Hibernate operations using the SessionFactory instance retrieved.

    最后我们使用获取的SessionFactory实例执行常规Hibernate操作

    youdao

  • The default implementation of SessionFactory is JcrSessionFactory which requires a repository to work against, and the credentials.

    SessionFactory缺省实现JcrSessionFactory,它要求一个进行工作的仓库证书

    youdao

  • In the Spring framework, resources such as a JDBC DataSource or a Hibernate SessionFactory can be realized as beans in an application context.

    Spring框架中,JDBCDataSourceHibernateSessionFactory这样资源,在应用程序上下文中可以bean实现

    youdao

  • All I have to do now is wire up my domain objects, which in this case, because they'll rely on Hibernate, require a SessionFactory type to work.

    现在需要就是连接对象示例中因为它们依赖Hibernate需要一个SessionFactory类型进行工作

    youdao

  • With the data source and session factory set up, the next step is to wire in the DAO, in this case CustomerDAOImpl, to use the SessionFactory.

    数据源会话工厂设置好之后,下一步就是DAO 中连接,在CustomerDAOImpl 示例中,使用 SessionFactory

    youdao

  • SessionFactory hides the authentication details inside the implementation so that once configured, sessions with the same credentials can be easily retrieved.

    SessionFactory隐藏了实现内部认证细节因此一旦配置完成使用同一证书会话可以容易的被检索出来。

    youdao

  • Thus far, I've created a builder class that properly configures a ShardedSessionFactory, which really is just an implementation of Hibernate's ubiquitous SessionFactory type.

    到目前为止已经创建一个可以合理配置ShardedSessionFactory生成器其实就是实现Hibernate无处不在SessionFactory类型。

    youdao

  • Other than the abstract property, the bean definition simply points out that I want an instance of GenericDaoHibernateImpl and that it needs a reference to a SessionFactory.

    除了抽象特性之外,bean定义指出想要GenericDaoHibernateImpl实例以及该实例需要SessionFactory引用

    youdao

  • As you can see in Listing 9, I've first created a factory-like bean in Spring; that is, my RaceDAOImpl type has a property named SessionFactory, which is of type SessionFactory.

    清单9看到的,首先Spring创建了个类似工厂bean;也就是说,racedaoimpl类型一个名为SessionFactory属性SessionFactory类型。

    youdao

  • As you can see in Listing 9, I've first created a factory-like bean in Spring; that is, my RaceDAOImpl type has a property named SessionFactory, which is of type SessionFactory.

    清单9看到的,首先Spring创建了个类似工厂bean;也就是说,racedaoimpl类型一个名为SessionFactory属性SessionFactory类型。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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