JDBC datasource Can be configured to use any JDBC driver.
JDBC数据源可以配置为使用任何JDBC驱动程序。
We get these connections from a JDBC DataSource, which was obtained by looking up the name of the data source in JNDI.
我们从一个JDBC DataSource得到这些连接,JDBC DataSource可以通过查找JNDI中的数据源名称得到。
Developers may use the IDE to visually configure a JDBC DataSource using wizards, schema validation and context sensitive help.
开发人员可以使用向导、Schema校验和上下文提示,可视化的配置一个JDBC数据源。
In comparison, session beans and JDBC datasource connections are very lightweight and require only a small amount of server resources.
与之相比,会话bean和JDBC数据源连接是非常轻量级的,只需要少量的服务器资源。
In the Spring framework, resources such as a JDBC DataSource or a Hibernate SessionFactory can be realized as beans in an application context.
在Spring框架中,像JDBC DataSource或HibernateSessionFactory这样的资源,在应用程序上下文中可以用bean实现。
Code your application using the JDBC DataSource interface for connections (or use container-managed persistence (i.e. EJBs), but that is another topic).
使用用于连接的JDBC DataSource接口编写应用程序(或者使用容器管理的持久性,但那是另一个话题)。
Each J2C connection factory and each JDBC datasource has its own pool of connections to the corresponding remote system (Enterprise Information system or database).
每个J2C连接工厂和每个JDBC数据源本身都有连接到相应远程系统(企业信息系统或数据库)的连接池。
First, connection management for connecting application components to back-end systems is fulfilled by the JDBC DataSource and ConnectionPoolDataSource interfaces.
第一个是将应用程序组件与后端系统相连接的连接管理,它是由DataSource和ConnectionPoolDataSource接口来实现的。
To be able to acquire a JDBC connection, we first need to perform some minor deployment configuration so we can look up a JDBC DataSource in the local component's JNDI context.
为了能够得到JDBC连接,首先要执行一些小的部署配置,这样我们才可以在本地组件的JNDI下文中查找DataSource。
For example, connections to a JDBC-backed database are pooled via the JDBC datasource that is used; JMS and other J2C connection pools are defined through the activation specification.
例如,到一个JDBC支持的数据库的连接通过使用的JDBC数据源定义连接池;JMS和其他J2C连接池通过激活规范定义。
Instead of specifying the configuration information in this manner, Dolly (and her co-workers) would be better served by using JNDI to find a JDBC DataSource, as shown in Listing 2.
如果不用这种方式指定配置信息,Dolly(以及她的同伴们)使用JNDI来查找JDBC DataSource会更好一些,如清单2所示。
This means the application USES the JDBC DataSource interface to establish connections to the database. This is the preferred access method for a J2EE application for several reasons.
这意味着应用程序使用JDBC DataSource接口来建立到数据库的连接。
This is needed, since there are situations in which the runtime might need to access the federated repository when no datasource is available; in such a situation, direct JDBC access will be used.
之所以必需设置该项,是因为存在以下情况:即当不存在任何数据源时,运行时可能需要访问联合存储库;在此情况下,将使用直接JDBC 访问。
Most business programmers cannot justify the time it takes to write their own datasource and connection pool code plus implement a naming server so the JDBC SPI can be used.
大多数业务程序员都不愿意,为了使用JDBCSPI而编写他们自己的数据源和连接池代码,并实现一个命名的服务器。
The new JDBC Resource Provider and datasource are not complete until the configuration has been saved.
当保存了配置之后,新的JDBC资源提供者和数据源才会完成。
This command set the datasource name along with the values required to access the database repository using a direct JDBC connection.
此命令设置使用直接JDBC连接访问数据库存储库所需的数据源名称和值。
If the datasources.xml file exists, WASPostUpgrade migrates the properties in the file into the V4 datasource and JDBC driver configuration.
如果datasources . xml文件存在,WASpostUpgrade把文件中的属性迁移到V4数据源和JDBC驱动程序配置中。
The SimpleJNDI servlet stores the datasource name (jdbc/SimpleDB) in a local variable.
SimpleJNDIservlet 将数据源名称(jdbc/SimpleDB )存储在一个局部变量中。
Within WebSphere Application Server, the datasource is associated with a JDBC resource provider whose definition includes a path to the JAR file containing the required classes.
在WebSphereApplicationServer内部,数据源与JDBC资源提供者相关联,其定义包括到JAR文件(该文件包含所需类)的路径。
This will save time when configuring the JDBC driver and DataSource needed by the application server.
这将在配置应用程序服务器所需的JDBC驱动程序和数据源时节省时间。
Note that for the DataSource lookup, we use jdbc/Sample, which is defined as WebSphere Server JDBC resources.
请注意,我们使用jdbc/Sample(被定义为WebSphereServer JDBC 资源)进行数据源查找。
When it is run with its JDBC configuration, a third party DataSource is used, and a 'destroy-method' is declared explicitly.
当它和JDBC配置一起运行的时候,会用到一个第三方DataSource,并且它显式声明了一个destroy-method。
The second form causes a new datasource to be created, using the JDBC URL provided as the value of the url attribute.
第二种格式将创建新的datasource,使用作为url属性值提供的JDBC URL。
Use the XA JDBC provider to create the datasource in the admin console.
在控制台中,使用XAJDBC提供者来创建datasource。
Normally, the first dataSource block is where we define JDBC properties, like driver class, username, password, etc.
通常,第一个dataSource代码段是定义诸如驱动程序类、用户名、密码之类的jdbc属性的位置。
Follow the standard process to define JDBC Provider and DataSource objects to your federated databases. (See Figure 6.) Note the following.
遵循标准过程定义到联邦数据库的JDBCProvider和DataSource对象(参见图6)。
Follow the standard process to define JDBC Provider and DataSource objects to your federated databases. (See Figure 6.) Note the following.
遵循标准过程定义到联邦数据库的JDBCProvider和DataSource对象(参见图6)。
应用推荐