这些设置可以是JMS连接工厂和目的地、jdbc数据源、J2EE安全设置、邮件会话等等。
These Settings can include JMS connection factories and destinations, JDBC data sources, J2EE security Settings, mail sessions, and so on.
您可以使用PASSTHRU会话直接将CREATEtable语句发送到数据源,并为这个新表创建一个昵称。
You can use the PASSTHRU session to directly send the create table statement to the data source and create a nickname for this new table.
这意味着如果有十个需要访问相同JNDI数据源的会话bean,就必须在部署描述符的每个bean上定义相同的资源引用。
This means that if I have ten session beans that need to access the same JNDI data source, I need to define that same resource reference on each bean in the deployment descriptor.
这一工具可以提供多种类型的建议,包括对OR b和we b池的池设置的建议,对会话设置的建议,对内存泄漏的建议,甚至包括对数据源的诊断建议。
There are many type of advice provided through this facility, including pool setting advice for ORB and Web pools, session setting advice, memory leak detection or even data source diagnostic advice.
数据源和会话工厂设置好之后,下一步就是在DAO 中连接,在CustomerDAOImpl 示例中,要使用SessionFactory。
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.
与之相比,会话bean和JDBC数据源连接是非常轻量级的,只需要少量的服务器资源。
In comparison, session beans and JDBC datasource connections are very lightweight and require only a small amount of server resources.
通过建立和经过适当配置的WebSphereInformation Integrator数据库的Hibernate会话,这些数据源(还有其他一些)就能够从Hibernate应用程序访问。
By establishing a Hibernate session with an appropriately configured WebSphere Information Integrator database, these sources - and others - can become accessible to Hibernate applications.
Lookup——查找数据源引用,然后调用会话Bean来查找同一引用。
Lookup — Looks up a datasource reference and then calls a session bean to lookup the same reference.
单个数据源对象可以创建一个或多个会话对象,每个会话对象都可以在给定时间位于事务范围内或范围外。
A single data source object can create one or more session objects, each of which can be inside or outside the scope of a transaction at a given time.
单个数据源对象可以创建一个或多个会话对象,每个会话对象都可以在给定时间位于事务范围内或范围外。
A single data source object can create one or more session objects, each of which can be inside or outside the scope of a transaction at a given time.
应用推荐