A Hibernate session represents a scoping for a unit of work.
Hibernate会话表示工作单元的范围。
The session interface manages persistence during the lifecycle of a Hibernate session.
在Hibernate会话的生命周期中,Session接口管理持久性。
In its JPA implementation, Hibernate sets the FlushMode of the underlying Hibernate session to MANUAL and the auto-commit mode to false.
在其JPA实现中,Hibernate将底层Hibernate会话的FlushMode设置为MANUAL并将auto - commit模式设置为false。
This error can occur if the Hibernate session and associated database connection is closed after the object was retrieved, but before the association was accessed.
如果在获取对象之后关闭Hibernate会话和相关联的数据库连接,在访问关联之前没有恢复,那么就会发生这种错误。
When accessed for the first time, the proxy asks the Hibernate session to query the Address object and then defer all future calls directly to the queried instance.
当首次访问这个代理实例时,代理要求Hibernate会话查询Address对象,以后的所有调用都直接交给查询到的实例。
This loading takes a long time both because of network bandwidth overhead and session cache overhead (memory consumption and GC pause) if your Hibernate session is stateful.
这种加载需要很多时间,既有网络带宽的原因,如果Hibernate的会话是有状态的,其中也会有会话缓存的原因(内存消耗和GC暂停)。
By establishing a Hibernate session with an appropriately configured WebSphere Information Integrator database, these sources - and others - can become accessible to Hibernate applications.
通过建立和经过适当配置的WebSphereInformation Integrator数据库的Hibernate会话,这些数据源(还有其他一些)就能够从Hibernate应用程序访问。
If you use a stateful session, don't forget to clear the cache before you execute the DML otherwise Hibernate will update or evict the related cache (See the Example 10 below for details).
如果使用有状态会话,不要忘记在执行DML前清除缓存,否则Hibernate将会更新或清除相关缓存(见下面的范例10)。
A local EJB session facade is created to wrap Hibernate persistence.
创建本地e jb会话facade以包装Hibernate持久性。
The session facade provides adapter logic to map Hibernate entity POJOs to Service Data Objects and back.
会话Facade提供适配器逻辑,以便将Hibernate实体POJO映射到服务数据对象,以及进行反向映射。
Look at the Hibernate template as the methods that implement things you'd want to do to a session.
可以将Hibernate模板看作是实现会话处理的方法。
Later, when your Hibernate client applications create a "session" to wrap the JDBC connection, Hibernate will consult this file and transparently connect to the specified database.
以后当Hibernate客户应用程序创建“session”包装JDBC连接时,Hibernate将查询该文件并透明地连接到指定的数据库。
Ehcache 2.0 also includes an express mode that be used to cluster the application data via configuration changes, whether the data is in Hibernate, a distributed cache, or session objects.
Ehcache 2.0还提供了一种快捷模式通过配置变化集群化应用数据,不论数据在Hibernate中、分布式缓存中还是session对象。
To do so, it initializes the Hibernate environment and opens a Session, which wraps a JDBC connection to the federated database.
程序首先初始化Hibernate环境并打开一个Session,后者包装了到联邦数据库的JDBC连接。
When you load an object with hibernate, the instance is bound to the session you loaded it with, and keep track of all changes to it.
当你加载一个对象与冬眠,实例绑定到会话加载它,并追踪到它的所有变化。
When you load an object with hibernate, the instance is bound to the session you loaded it with, and keep track of all changes to it.
当你加载一个对象与冬眠,实例绑定到会话加载它,并追踪到它的所有变化。
应用推荐