• 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 a very simple method for project management and has loose connection to software development.

    项目管理简单方法并且软件开发松弛连接关系

    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

  • 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 API is straightforward: You call a singleton method and get back a connection object.

    API直观:调用单个方法返回一个连接对象。

    youdao

  • The next step is to define the method that is called when the connection responds.

    下一步定义连接响应调用方法

    youdao

  • The method of connection is indicated (GET), as well as the URL to connect to.

    其中指定连接方法(GET)连接URL

    youdao

  • Let's start with the Connection object we pass into the method.

    我们以被传递方法之中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

  • To react to messages sent to you, use the add_message_callback method of your client connection.

    发送消息作出反应,请使用的客户连接的add_message_callback方法

    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

  • 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

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

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

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