接下来创建数据库连接。
连接配置包含创建数据库连接所需的属性值。
Connection configurations contain the property values required for creating database connections.
下面的步骤介绍了如何手工地创建数据库连接。
The steps that follow show how to manually create a database connection.
正如前面所提到的,创建数据库连接的开销非常大。
As mentioned earlier, database connections are expensive to create.
如何:创建数据库连接。
使用NewConnection向导创建数据库连接。
Use the New Connection wizard to create the database connection.
在一个生产实现中,可以使用该方法来创建数据库连接池的间隔。
In a production implementation, you would use this method to create the internals of a database connection pool.
启动VisualStudio 2008并创建数据库连接。
Launch Visual Studio 2008 and create connection to the database.
在创建数据库连接后,应该创建一个单独的项目来存储生成的文件。
After creating a database connection, you should create a separate project to store the generated files in.
该结果说明,尽管有警告,但创建数据库连接的第一次尝试成功了。
This result demonstrates that, despite the warning, your first attempt to create a connection to the test database succeeded.
连接存储库的任何用户都能够通过访问连接组和连接配置创建数据库连接。
Any user that connects to the repository has access to the connection groups and to the connection configurations for creating database connections.
创建数据库连接后,需要将该连接与创建的inventory项关联起来。
Now that you have created a database connection, you need to associate the connection with the inventory project you created.
创建数据库连接时提供的连接处理资源是必要的参数,随需要运行的查询一起使用。
The connection handle resource given when creating a database connection is a necessary parameter, along with the query that needs to be run.
现在您已经创建了WeatherForecastDB数据库,您需要创建数据库连接。
Now that you have created the WeatherForecastDB database, you need to create the database connection.
在存储库中创建连接配置之后,能够连接存储库的任何用户都可以使用连接配置创建数据库连接。
Once the connection configuration is created in a repository, any user who can connect to the repository can create a database connection using the connection configuration.
连接配置——用来创建数据库连接的一组必需的属性值,包括数据库版本、数据库厂商、端口号和主机名。
Connection configuration-a set of required property values used to create database connections, including the database version, database vendor, port number, and host name.
创建数据库连接,创建相应的DataDevelopment项目,在项目中创建SQL存储过程(图10)。
Create a database connection, a corresponding data Development project, and an unqualified SQL stored procedure in your project (Figure 10).
创建了到数据库的连接之后,您需要创建一个数据开发项目。
After creating a connection to your database, you need to create a data development project.
创建到目标数据库的连接。
您正在使用您之前手动创建的数据库连接。
You are using the database connection that you previously created manually.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
为了完成以下的操作步骤,您必须要创建新的数据库连接。
To complete the following steps you may need to create a new database connection.
在完成所有关于XA的准备之后,就创建到数据库的JDBC连接。
After all the preparation concerning the XA issues, create a JDBC connection to the databases.
数据架构师可以使用IDA为特定的数据库连接创建一个物理数据模型。
Using IDA, the data architect creates a physical data model for a particular database connection.
将来只要创建一个新数据库连接,就需要执行这个步骤。
This step has to be done again whenever you create a new database connection in the future.
现在,数据库连接已创建。
接下来将为新创建的数据库创建连接池
Next you create a connection pool for the recently created database
本篇教程会向您展示如何使用DataStudio更加快速有效的自动创建可靠的数据库连接类。
This tutorial shows you how to use data Studio to develop applications more efficiently by automatically creating reliable database connection classes.
接着,为此数据库连接创建ConnectionWrapper。
Next, create a ConnectionWrapper for this database connection.
和清单1一样,这里需要创建与数据库连接没有关联的Data接口的实例,以便执行内存中对象上的查询。
As in Listing 1, you need to create an instance of the data interface not associated with a database connection in order to execute queries over in-memory objects.
应用推荐