确认你的数据库连接信息的安全性。
单击ok保存数据库连接信息。
这个访问要求建立一个数据库连接。
单击new来选择新的数据库连接。
将例程从数据库连接拖放到项目中。
Drag and drop routines from a database connection to the project.
通过普通JDBC的数据库连接。
现在,数据库连接已创建。
如果匹配,则认为数据库连接是可信的。
When a match occurs, the database connection is said to be trusted.
单击ok导入数据库连接。
接下来创建数据库连接。
关闭和停止数据库连接。
这个函数尝试关闭以前打开的数据库连接。
This function attempts to close the previously opened database connection.
打开DB 2命令窗口并建立数据库连接。
Open a DB2 command window and establish the database connection.
添加db2数据库连接。
重建项目中的数据库连接
在这一点上,您还可以选择测试数据库连接。
You also have the option to test the database connection at this point.
登录信息仍然是数据库连接本身中的一部分。
Login information is still part of the database connection itself.
这时将打开新的数据库连接窗口,如上所示。
The new database connection window will open, as shown above.
提供数据库连接信息。
现在配置了数据库连接,应该编写一些代码。
Now that the database connections are configured, it's time to write some code.
在刷新用于数据库连接的列表之后,添加新层。
Add the new layer after refreshing the list for the database connection.
这里有多个方法用来自动确定数据库连接信息。
There are multiple ways to automatically determine the database connection information.
下面的步骤介绍了如何手工地创建数据库连接。
The steps that follow show how to manually create a database connection.
现在可以定义数据库连接性。
在图9中,信用卡物理模型与数据库连接关联。
In the Figure 9, the credit card physical model is associated with the database connection.
输入数据库连接信息之后,单击Next按钮。
After entering the database connection information, click the Next button.
这个脚本只处理一个可能的错误:数据库连接故障。
This script deals with only one possible error: a failure to connect to the database.
首先,您设置一个到本地数据库的数据库连接对象。
First, you set up a database connection object to a local database.
正如前面所提到的,创建数据库连接的开销非常大。
As mentioned earlier, database connections are expensive to create.
创建一个不能用于数据库连接的DB 2权限id。
Create a DB2 authorization ID that cannot be used for a connection to the database.
应用推荐