• In this case, we would mock the query method of the database connection object so that we could just return back the results instead of calling out to the database for them.

    这里我们可以模拟数据库连接对象查询方法这样我们只需要返回结果而不需要真正查询数据库。

    youdao

  • Listing 4 shows an excerpt from a method that establishes a DB2 database connection.

    清单4显示了一个用于建立DB 2数据库连接方法摘录

    youdao

  • It is in this method call that the database connection is obtained and subsequently closed.

    就是方法调用中,我们获得然后关闭数据库连接

    youdao

  • In a production implementation, you would use this method to create the internals of a database connection pool.

    一个生产实现中,可以使用方法创建数据库连接间隔

    youdao

  • Using this method, a connection is created each time you access the database from your program, thereby incurring a substantial processing overhead.

    通过方法每当程序访问数据库时,都要创建连接从而招致大量处理开销

    youdao

  • The second method demonstrates accessing the database directly using a pooled database connection.

    第二方法演示了使用池态数据库连接直接访问数据库。

    youdao

  • It seeks the same method used to create the data model, a database connection, or a DDL script, then performs the compare, and displays the results in the compare pane.

    寻找用于创建数据模型数据库连接ddl脚本相同方法然后执行比较比较面板中显示结果

    youdao

  • The connection manager can then call this method when the resource adapter indicates a connection error, or even periodically to remove broken connections from the pool.

    然后连接管理资源适配器指示连接错误调用这个方法甚至定期调用该方法,以便从池中排除坏掉连接

    youdao

  • Rather than reassociating the connection handle with the managed connection the next time a method is called, the optimization uses lazy association.

    这种优化使用惰性关联而不是下次调用方法时重新连接句柄托管连接关联。

    youdao

  • An alternative to consider if your data is going to be exposed over HTTP is a SPARQL connection method over HTTP, which makes your data "Linked data" -ready and can be completely distributed.

    如果数据通过HTTP公开,那么一种备选方法基于HTTP的SPARQL连接这种方法使的数据成为“链接数据”并且可以实现完全分布

    youdao

  • The maximum time the method will wait for a connection in this situation is specified by the connection pool's connection timeout property.

    对于这种情况方法等待连接最大等待时间连接连接超时属性指定的。

    youdao

  • This method works fine as long as the connection to the server is not lost, in which case your connection to the server is rarely re-established.

    只要服务器连接不断开这种方法就能良好运行这种情况下很少需要重新建立服务器的连接。

    youdao

  • As with all JDBC resources, invoke the connections close method when you are done with the connection.

    所有JDBC资源一样,在使用连接调用连接关闭方法

    youdao

  • The dashed arrows in Figure 3 indicate the notification of the connection manager by the EJB container when a method completes.

    3虚线箭头表示方法完成ejb容器连接管理通知

    youdao

  • The goal of the IOR is to enable the client to make a connection to the server so that it can complete a method call.

    IOR 的目的就是使客户机能够连接服务器以便能够完成方法调用

    youdao

  • The following method, in a class called DatabaseExample, takes a database Connection object, reads the records from the database, and prints the values.

    下面方法一个被称为DatabaseExample中,使用数据库Connection对象数据库中读取记录打印出数值。

    youdao

  • This is the only configurable LTC setting for Web components (servlets), and applies to bean managed transactions using the LocalTransaction.begin method on a Connection.

    属性We b组件(servlet)唯一能配置ltc设定值,通过在连接上使用LocalTransaction. begin方法应用bean管理事务

    youdao

  • Provide the queue manager name and select the appropriate connection method, as shown in Figure 4

    提供队列管理器名称选择适当连接方法如图 4 所示。

    youdao

  • However, instead of specifying a callback method, specify a delegate for the connection, once you have set this to self.

    但是一旦代理设置self,就应该连接指定个代理,而不是一个回调方法

    youdao

  • The session bean method then opens a connection with a messaging provider to send and receive messages.

    然后会话bean方法打开一个消息传递提供者连接以便发送接收消息。

    youdao

  • This matches any call to a method defined on a JDBC connection that returns a Statement or any subclass thereof.

    这个建议匹配方法调用JDBC连接定义的,而且会返回Statement任何子类

    youdao

  • Next, you obtain a handle to your LDAP connection established earlier in the Activator class’s initializeLDAP method.

    接下来,将获得前面使用 ActivatorinitializeLDAP方法建立LDAP连接一个

    youdao

  • The lookupStats() method uses the three different mappings to look up the connection and the SQL associated with this statement.

    lookupStats()方法使用三个不同映射来查询条语句关联连接SQL

    youdao

  • Things to note about this method are the use of the default connection and setting the autocommit mode to false.

    对于这个方法需要注意默认连接使用,还要将自动提交模式设为false。

    youdao

  • Once an authenticated connection is open, the getFeed() method retrieves the contacts feed.

    一旦打开一个已验证连接getFeed()方法就会检索联系人提要

    youdao

  • The connect method accepts a timeout parameter, and if the connection does not succeed within the stipulated time period, it gives up.

    connect方法接受一个超时参数如果指定的时间段未能成功地连接就会放弃。

    youdao

  • The simpleQuery() method in Listing 8 declares several variables and then establishes a database connection using a helper method defined in Listing 2.

    清单 7 中的 simpleQuery()方法声明几个变量然后使用清单2定义helper 方法建立一个数据库连接

    youdao

  • This is the only configurable LTC setting for Web components (servlets), and applies to bean managed transactions using the LocalTransaction.begin method on a connection.

    属性We b组件(Servlet)唯一可配置LTC设置,通过在连接上使用LocalTransaction. begin方法应用Bean管理事务

    youdao

  • When the explicit proxy server allows the connect method, the TLS handshake is sent, followed by the WebSocket connection upgrade handshake.

    显式代理服务器允许CONNECT方法时,TLS握手发送出去后面紧跟着WebSocket连接升级握手。

    youdao

  • The Geronimo team has been careful to implement the established standards, so the simple JNDI lookup method of obtaining a remote connection to a stateless session bean works as advertised.

    Geronimo团队已经认真实现健全标准,推广用简单JNDI 查询方法获得状态会话 bean 的远程连接

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定