An alternative way of handling database connections is to use data source objects.
另一种处理数据库连接的方法就是使用数据源(data source)对象。
By using data source objects, you have access to a pool of connections to a data source.
通过使用数据源对象,您可以访问一个连接数据源的连接池。
Typically, in an enterprise application data source objects are retrieved through a JNDI lookup operation.
在一个企业程序中,数据源对象是通过JNDI查找操作来获得的。
Because of the advantages of connection pooling, using data source objects is the preferred method of handling database connections in Web applications.
由于连接池有许多优点,所以在Web应用程序中偏爱使用数据源对象的方法来处理数据库连接。
For relational nicknames, the wrapper validates the existence of the data source objects and retrieves the column definitions and index information, if any, when the nickname is defined.
对于关系昵称,包装器确认数据源对象是否存在,如果定义了昵称,还将获取列定义和索引信息。
For relational nicknames, the wrapper validates the existence of the data source objects and retrieves the column definitions and index information, if any, when the nickname is defined.
对于关系昵称,包装器确认数据源对象是否存在,如果定义了昵称,还将获取列定义和索引信息。
应用推荐