此内容没有您所选择的语言版本。
16.4. Connection Factories
In Red Hat JBoss Data Grid, all JDBC cache loaders rely on a
ConnectionFactory implementation to obtain a database connection. This process is also known as connection management or pooling.
A connection factory can be specified using the
ConnectionFactoryClass configuration attribute. JBoss Data Grid includes the following ConnectionFactory implementations:
- ManagedConnectionFactory
- SimpleConnectionFactory.
16.4.1. About ManagedConnectionFactory 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
ManagedConnectionFactory is a connection factory that is ideal for use within managed environments such as application servers. This connection factory can explore a configured location in the JNDI tree and delegate connection management to the DataSource. ManagedConnectionFactory is used within a managed environment that contains a DataSource. This Datasource is delegated the connection pooling.