清单1显示了简单示例,该示例执行一个您将想要识别和删除的数据库请求。
Listing 1 shows a simple example that executes a database query that you will want to identify and cancel.
清单4显示了一个用于建立DB 2数据库连接的方法的摘录。
Listing 4 shows an excerpt from a method that establishes a DB2 database connection.
清单2显示了图书表的简单的数据库访问类。
Listing 2 shows a simple database access class for the book table.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
为了说明原因,该提取是依靠一个仅仅定义了两个用户的数据库来运行的,此输出显示在清单2中。
For illustrative purposes, the extract was run against a database with only two users defined and the output is shown in Listing 2.
清单1显示了单表数据库的模式。
清单17显示了一种使用两个词的HQL查询来检索整个数据库的方法。
Listing 17 illustrates a way to retrieve the entire database using a two-word HQL query.
清单5和6显示了从数据库系统中返回的失败的约束示例。
Listings 5 and 6 show sample constraint failures returned from the database system.
比如,清单4显示了一个使用Python搜索数据库的例子。
For example, Listing 4 shows an example using Python to search the database.
清单6显示了从数据库中装入Person对象的示例。
Listing 6 shows an example that loads the Person object from a database.
清单8显示了配置为域控制器的Samba服务器的密码数据库。
Listing 8 shows the password database from a Samba server configured as a domain controller.
清单6显示了利用AspectJ和JDBCAPI跟踪数据库连接的方面。
Listing 6 shows my aspect for tracking database connections using AspectJ and the JDBC API.
清单1显示了用于创建teradata数据库orders表的SQL。
Listing 1 shows the SQL for creating the Teradata database Orders table.
清单2显示了这个数据库封装类的代码。
清单4中的表单显示了UTF数据,可将它存储在数据库中以及从数据库获取它。
The form in Listing 4 shows UTF data, which can be stored in and retrieved from the database.
清单1显示了该数据库的模式。
用于准备DB 2数据库环境的部分脚本(下面步骤1中介绍的)包含的代码显示在清单3中。
Part of the script that you use to prepare the DB2 database environment (described in Step 1 below) contains the code shown in Listing 3.
清单16显示了服务器端的方法,JDBC调用数据库以选中表中的所有联系人的方法。
The method on the server side, the JDBC call to the database that selects all contacts from the table, is shown in Listing 16.
清单9 显示了 “良好” 的实现,该实现尽量避免增加数据库上的工作负载。
The "good" implementation, Listing 9, minimizes the workload on the database.
以下清单展示了一个GridBlox,它显示来自DB 2示例数据库中employee表的行。
The following listing shows a GridBlox that displays rows from the EMPLOYEE table in DB2 sample database.
清单1显示了Recipe应用程序的数据库迁移。
Listing 1 shows the database migration for the Recipe application.
清单7显示了如何使用db 2 pd实用程序为数据库中的所有表上的索引获取该信息。
Listing 7 shows how to use the db2pd utility to get this information for all indexes on all tables in a database.
清单1显示了数据库的MySQL的初始化代码。
Listing 1 shows the MySQL initialization code for the database.
清单20中的代码查询所有文档,以创建一个用于显示数据库中的所有电影的放映时间的临时视图
The code in Listing 20 queries all documents to create a temporary view that shows the runtimes of all movies in the database
清单5显示了名为catalog的数据源的部分定义——指定连接的数据库以及如何建立连接(主机、套接字、用户和密码)的代码片段。
Listing 5 shows part of the definition of the source named catalog - the snippet specifies which database to connect to and how to make a connection (host, socket, user, and password).
清单12中的示例显示了通过InformixodbcDriver连接到Informix数据库的iodbctestiodbc示例工具的输出。
The sample in Listing 12 shows the output of the iodbctest iodbc sample tool connecting to an Informix database through the Informix odbc Driver.
创建了数据库和用户之后,请调整DataSource . groovy,让它使用清单11中的值(这里显示的值假设使用的数据库名为trip)。
Once you have your database and user created, adjust DataSource.groovy to use the values shown in Listing 11. (the values shown here assume the database is named trip.)
如果要添加此变数据,请打开您的数据库概述以显示数据库维度清单。
To add this metadata, open the outline for your database to display the list of database dimensions.
如果要添加此变数据,请打开您的数据库概述以显示数据库维度清单。
To add this metadata, open the outline for your database to display the list of database dimensions.
应用推荐