Observe the SAMPLE connection associated with the project.
观察与这个项目相关联的SAMPLE连接。
Our example requires a database connection to start, nothing else, and for this, the SAMPLE database will do quite nicely.
例子只要求一个数据库连接来启动操作,不要求其他任何东西,对此,SAMPLE数据库将表现得非常出色。
This code sample shows how an EJB component might access a message queue resource, using connection objects.
代码样本显示了EJB组件如何使用连接对象来访问消息队列资源。
You can use this sample program to check the connection status as well.
也可以使用这个样例程序来检查连接状态。
Every connection factory or destination used in the sample application must be registered in a JNDI directory with a unique name.
在示例应用程序中使用的每个连接工厂或目的地必须使用唯一名称在JNDI目录中注册。
The sample code I have provided makes a direct connection to DB2.
我提供的示例代码建立一个到DB2 的直接连接。
Within this sample data you will detect there is not only a connection between Berlin and Frankfurt, but also between Frankfurt and Berlin.
在这个样例数据中,您将会发现到柏林和法兰克福市之间的线路,还会发现到法兰克福市和柏林之间的连接。
Now, expand the new connection, and then expand the analysis folder until you see the two sample transformations as shown in Figure 4.
现在,展开新连接,并展开分析文件夹,直到您看到两个示例连接,如图4中所示。
Now when performing the LOAD FROM CURSOR operation within the stored procedure, DB2 tries to establish the remote connection to database SAMPLE with the authorization ID of the local user.
在存储过程中执行LOADFROM CURSOR操作时,DB2尝试用本地用户的授权ID连接远程数据库SAMPLE。
For this new project, you need to specify the connection to the SAMPLE database, as shown in Figure 3.
需要为此新项目指定到SAMPLE数据库的连接,参见图3。
After the connection to the SAMPLE database is established, we are going to retrieve the details of all the employees by calling another servlet named SearchEmployee.
在建立到SAMPLE数据库的连接之后,我们将通过调用另一个名为SearchEmployee的servlet来检索所有雇员的细节信息。
The following code establishes a connection to the SAMPLE database and returns a list of all the catalog views in the SYSCAT schema
下面的代码将建立到SAMPLE数据库的连接,并返回SYSCAT 模式中所有编目视图的一个列表
Listing 2 demonstrates a simple Perl program that establishes connection to the database SAMPLE and returns today's date.
清单2展示了一个简单的Perl程序,它建立到数据库sample的连接,并返回今天的日期。
This example USES GSDB and GS_DB_TEST, but you could also create a connection to SAMPLE.
这个示例使用GSDB和GS_DB_TEST,但是还可以创建到SAMPLE数据库的连接。
Obtain a connection with the DB2 SAMPLE database using the PDO constructor.
使用PD o构造函数获得与DB 2SAMPLE数据库的连接。
Select the DB2 connection to the DB2 UDB SAMPLE database, or configure it as shown in Figure 1.
选择到DB2UDBSAMPLE数据库的 DB2连接,并按照图 1 所示进行配置。
Use the Test button to verify that a connection can be made to the DB2 UDB SAMPLE database.
使用Test按钮验证可以建立一个到DB 2UDBSAMPLE数据库的连接。
You will also need a working Internet connection from your machine to connect to the sample ZipCode Web service.
您将还需要一个运行着的internet连接,从您的机器连接到样本zipcodeWeb服务。
Here's the sample code to create an MQSeries QueueConnectionFactory and acquire a connection to a specific queue manager.
下面是用于创建MQseriesQueueConnectionFactory和获取特定队列管理器连接的样本代码。
As with the JSP and servlet sample, the EJB runs in managed mode when the connection factory is obtained from the application server.
与使用JSPand servlet样本一样,在从应用程序服务器获取连接工厂时,EJB运行于受管模式下。
Select the DB2 connection, and right-click on it to modify the connection in order to connect to the IBM DB2 UDB SAMPLE database. (See Figure 1 for my Settings.)
选择DB 2连接,右击它并修改连接,以连接到IBM DB 2UDBSAMPLE数据库(关于我的设置,参见图1。)
In this sample application a PDO object instantiated within the PHP file instantiates the connection with the MySQL database through the MySQL connector.
在这个样例应用程序中,在php文件中实例化的一个pdo对象通过MySQL连接器实例化与MySQL数据库的连接。
The next steps are to create a SQL Express connection, browse the sample encyclopedias, and create a new one.
接下来的一步是创建一个SQLExpress连接,浏览范例百科全书,并创建一个新的百科全书。
Listing 1 shows the code used to initialize a connection with NSURLRequest in the sample application.
清单1显示了应用程序示例中用NSURLRequest初始化连接的代码。
As previously discussed, you have two options for how to determine the JNDI connection parameters. Listing 4 is sample code for retrieving JNDI properties.
正如前面讨论的,对于如何确定JNDI连接参数,您有两种选择。
Much like the point-to-point sample, the session bean USES a resource reference to access the JMS connection factory and a message destination reference to access the destination.
和点到点示例非常相似,其中的会话Bean将使用资源引用访问JMS连接工厂,而使用消息目的地引用访问目的地。
On the last page of the database Pools wizard, click on Test connection to ensure the connection information is correct and connection to your DB2 Sample database can be established.
在DatabasePools向导的最后一个页面中,单击TestConnection以确保连接信息是正确的并且可以建立与DB 2Sample数据库的连接。
Start a new instance of Visual Studio 2005, and make a connection to the DB2 sample database from Server Explorer.
在VisualStudio 2005中开始一个新实例,并从ServerExplorer 中建立到DB2sample数据库的连接。
Figure 1 shows the Server Explorer connection to the DB2 sample database.
图1显示了到DB 2sample数据库的ServerExplorer连接。
The second sample was remote shell mode and is so named because SSH powers the underlying connection and transfers.
第二个示例是远程shell模式,它使用SSH执行底层连接和传输。
应用推荐