现在,应用程序可以获得连接池。
这就要求跟踪用来获得连接的数据源。
This requires me to track the data source used to acquire a connection.
然后从相同的数据库ds获得连接conn2。
Connection conn2 is then acquired from the same datasource, ds.
获得连接到roothub的UsbDevice s清单。
Obtain a list of the UsbDevices that are connected to the root hub.
此外,现在您可以获得连接池其他应用程序服务器提供商的功能性好处。
Moreover, now you can get the benefits of connection pooling and other application server-provided functionality.
在图5中可以看到,在获得连接时,XAResource不再急切征募。
You can see in Figure 5 that the XAResource is no longer enlisted eagerly when the connection is obtained.
注意,对于每个方法,我们将调用实用程序类dbmanager以获得连接。
Notice that for each method, we make a call to a utility class, DbManager, to get a connection.
通过在运行时运用JNDI,你可以获得连接池的好处和服务器提供的额外的功能。
By using JNDI connections at runtime, you can obtain the benefits of connection pooling and additional application server-provided functionality.
对于想了解使用JNDI来获得连接的更多信息,请参阅active MQ文档。
For more information about using JNDI to get the connection, see the ActiveMQ documentation.
然后,通过调用connect方法并传入url从authhelper实例获得连接。
You then obtain a connection from the AuthHelper instance by calling the connect method and passing in the URL.
设想我们的Bean通过JMS发送一条响应消息,这样它将首先获得连接,然后进行会话。
Imagine our bean sends a response message via JMS, so it will obtain first a connection and then a session.
在图4中可以看到,获得连接后,XAResource立即征募到了事务中(即接收一个开始流程)。
You can see in Figure 4 that the XAResource is enlisted in the transaction (that is, receives a start flow) immediately after the connection is obtained.
记住只有管理员,超级用户,或者甚至是根用户才能使你完全入侵其它机器,而不仅仅是获得连接而已。
Keep in your mind that only an administrator account, super user or even the root account can let you access to the other machines completely and not simply an access to the connection.
一个问题就是当很多线程被同时启用时,即使还没有达到该数据库的限值,其中的一些线程实际上也不能获得连接。
One problem is that when many threads are launched at once some of them, in practice, will fail to obtain a connection, even if the database limit is not reached.
获得连接后,应该缓存连接,并在每次相同的线程执行evaluate方法来执行工作单元时进行重用。
Once obtained, the connection should be cached and reused each time the same thread executes the evaluate method to perform a unit of work.
在cached - handle模式中,应用程序在一开始是获得连接,然后在一个实例字段中缓存对它的引用,如清单2所示。
In the cached-handle model, the application obtains the connection once up-front and caches a reference to it in an instance field, as illustrated in Listing 2.
当向HelloCloudscape.jsp提交表单时,可以使用提供的数据源名称,从该数据源管理的连接池中获得连接。
When a form is submitted to HelloCloudscape.jsp, it uses the data source name provided to obtain a connection from the connection pool managed by the data source.
我们从服务器编辑器中获得连接属性的值,您可以通过在ServerOverview中双击服务器实例来访问服务器编辑器。
We obtained the values of the connection properties from the server editor that you can access by double-clicking on the server instance in the server Overview.
acommontaskinRationalTeam Concert报表中的一个普通任务,是获得连接至特定工作项的项目。
A common task in Rational Team Concert reports is to retrieve the work items that are linked from a particular work item.
例如,如果你问:“为什么我的URL删除请求被拒绝了?”你很有可能获得连接至这篇文章的链接,其中描述了拒绝删除请求的各种原因。
For example, "Why was my URL removal request denied?" is likely to get you a link to this article, as removals can be denied for a variety of reasons.
为了在不受管理的环境下获得连接,应用程序客户端必须创建并初始化delconnmanaged ConnectionFactory类的实例。
To obtain connections in a non-managed environment, the application client must create and initialize an instance of DELConnManagedConnectionFactory class.
举例来说,你也可以使用Oracle ReaApplicationCluster[15]提供的JDBC连接池[14]以获得连接的负载均衡和失败转移。
For example, you can also get connection load balancing and failover using the Oracle provided JDBC connection pool [14] along with Oracle Real Application Cluster [15].
在一些国家,你甚至可以获得优先连接游戏的网络。
In some countries you can get connections optimised for gaming.
可以选择该连接,然后获得相关数据库中所有层(已注册的空间列)的列表。
You select the connection and get a list of all layers (registered spatial columns) in the associated database.
请看参考资源,并获得试用下载的连接。
非阻塞单传输模式:在此调用模式中,只使用下面的一个传输连接获得非阻塞调用。
Non-blocking single transport pattern: in this invocation pattern, you achieve a non-blocking call using only a single transport connection underneath.
如果以后从连接池中获得不同的连接,则它自然将获得不同的会话。
If it later gets a different connection from the connection pool, then it will naturally obtain a different session.
您可以使用“PREVVAL FOREMPSERIAL ”获得当前连接会话中最近生成的序列值。
You can use "PREVVAL FOR EMPSERIAL" to get the most recently generated sequence value in your current connection session.
关于获得PHPOD BC连接的文档很多,请参阅参考资料一节。
The documentation for getting a PHP ODBC connection is widely available, refer to the Resources section.
当你在室外,比如咖啡馆或机场,你怎么获得更好的连接呢?
But what should you do to get a better connection when you're outside, at a coffee shop or an airport?
应用推荐