The primary purpose of the ProductDAO class is to create a new Product object that consists of the data from a specific row in the bigdog.products table.
ProductDAO类的主要用途是创建一个由 bigdog.products 表的特定行中的数据组成的新Product对象。
It queries your database, indexes each column in each row of the result, and ties each index entry to the row's primary key.
它将查询数据库,为结果的每行中的每列建立索引,并且将每个索引条目绑定到行的主键上。
A primary key is a special thing in the relational model: It must be unique to each record (row) of a table.
在关系模型中主键是特殊的事物:它对于表的每个记录(行)必须是唯一的。
The detail columns, when expanded, are displayed directly below the row that contains the primary columns of data.
具体的列,在扩展时,会直接显示在行的下面,该行包含了数据的主列。
However, each row must have a unique primary key, which is a sort of name for that particular bundle of data.
不过,每一行的主键(一种用于特定一组数据的名称)必须是唯一的。
We keep only a compound primary key and a secondary index for each row, and answer all queries from a single index.
我们只保留了一个组合主键和一个辅助索引来完成所有的查询。
Note that this assumes that key columns are never updated; once a row exists, it is immutably tied to its primary-key value.
注意,这假设从不更新键列;一旦一行存在了,它的主键值就不变了。
You saw how the findByPrimaryKey causes the container to retrieve a row in a database using the primary key of the EJB component as the primary key of the row in the database.
您已看到了findByPrimaryKey 子句如何让容器使用EJB组件中的主键作为数据库中行的主键来检索数据库中的行。
InsertJSON expects two input parameters: the unique key value for primary key and the row data in JSON format.
insertJSON需要两个输入参数:主键的惟一键值与json格式的行数据。
If you create a row with primary key 100 in a customer table, the message will look like "message from DB2: a row with primary key 100 is created".
如果您在customer表中使用主键100创建一个行,对应的消息将与如下所示类似:“MessagefromDB 2:arowwithprimarykey 100is created ”。
Syscat.tabconst Contains a row for each unique (u), primary key (p), foreign key (f), or table check (k) constraint db2 select constname, tabname, type from syscat.tabconst.
tabconst为每个唯一性(U)、主键(p)、外键(f)或者表检查(K)约束保持一个行db2select constname,tabname,typefrom syscat . tabconst。
Each row of a table is uniquely identified by a primary key composed of one or more columns. This implies that a table may not contain duplicate rows.
表的每一行都是由一个唯一的主键标识的。主键由一列或多列构成。这意味表里不会有重复的行。
Primary keys are the unique identifiers for each row. They must contain unique values and cannot be null.
主键是每行的唯一标识符,必须包含不重复的值,而且不能为空。
If a row is to be included in the download stream, you need not include a row with the same primary key in the delete list.
如果将要在下载流中包含一行,则在删除列表中不能包含与此行主键值相同的行。
A typical use is to specify the primary field of a data record so that at run time you can identify the data row displayed in the list.
典型用法是指定数据记录的主字段,以便在运行时可以标识在列表中显示的数据行。
The row selector displays a key symbol if the column is in the table's primary key.
如果该资料行位于资料表的主索引键,资料列选择器将显示索引键符号。
Because each row has a unique primary key, no two rows share the same key value.
由于每一行都具有唯一的主键,因此任何两行都不会共用同一键值。
You want to be able to read all the columns in the row, including the primary key.
您想要能够读取资料列内的所有资料行,包括了主索引键。
In Table Designer, click the row selector for the database column you want to define as the primary key.
在表设计器中,单击要定义为主键的数据库列的行选择器。
Whenever you retrieve a new row from the database, the row is logged in an identity table by its primary key, and a new object is created.
只要您从数据库中检索新行,该行就会由其主键记录到标识表中,并且会创建一个新的对象。
This allows us to atomically update in a place a single row in a database, and get a new auto-incremented primary ID.
这使我们能自动更新数据库中的一行数据,并且得到一个自动增长的主键ID。
A database table commonly has a column, or group of columns, that uniquely identifies each row in the table. This identifying column or group of columns is called the primary key.
一个数据表都有一个或者是若干个列,而每个表都可以有唯一标识列的字段,这些能够标识字段的列就是所谓的主键。
The primary key is used for locating the data row that will be updated or deleted, but no other comparison of the data is performed.
寻找要更新或删除的资料列时,会使用到主索引键,除此之外不会进行任何其他的资料比较动作。
Gets a value that indicates whether the primary key of any row in the collection contains the specified value.
获取一个值,该值表明集合中任何行的主键列是否包含指定值。
Gets the row that contains the specified primary key values.
获取由主键值指定的行。
The exception that is thrown when attempting to access a row in a table that has no primary key.
尝试访问没有主键的表中的行时引发的异常。
Gets a value that indicates whether the primary key columns of any row in the collection contain the values specified in the object array.
获取一个值,该值指示集合中任何行的主键列中是否包含在对象数组中指定的值。
Gets a value that indicates whether the primary key columns of any row in the collection contain the values specified in the object array.
获取一个值,该值指示集合中任何行的主键列中是否包含在对象数组中指定的值。
应用推荐