代码的惟一假设就是只有一个主键字段,而且这个字段的名称是表名加上_ id。
The only assumptions the code makes is that there is a single primary key field and that the name of that field is the name of the table plus _id.
描述符也可以提供与注释相同的有关实体的元数据信息,如主键字段,以及对象之间的任何映射。
The descriptor can also provide the same metadata information about the entities as annotations, such as primary key field, and any mappings between objects.
特别是,它支持多个主键字段,公开了一些用户界面的改进功能和一个处理与取消事件的新模型。
In particular, it supports multiple primary key fields and exposes some user interface enhancements and a new model for handling and canceling events.
现在已经开始支持自动生成主键和未知的主键字段处理,而且越来越多的人开始使用它。
Primary key generation and unknown primary key field handling is now becoming supported, and more people are beginning to use it.
以防这可以帮助任何人,我的问题是,我试图让我的是我的主键字段声明为一个字符串。
Just in case this helps anyone, my problem was that I was trying to make my field that was going to be my primary key declared as a String.
既可以拖放字段形成新表,也可以在两表之间移动字段,还可以重命名表和设置主键字段。
You can drag and drop fields to make new tables, and to move fields between tables. You can also rename the tables, and set primary key fields.
您的数据库表也不必包含具有特定名称的特定字段:如果您没有名为id 的主键字段,也不会有什么问题。
Your database tables don't have to contain certain fields with certain names, either: If you don't have a primary key field named id, the world won't end.
用名为attendee的新CMP实体bean表示关系,该bean有两个字段(如果加上主键字段则有三个)。
The relationship is represented by a new CMP entity bean called Attendee, having two fields (three if we count the primary key field).
切记,对于要工作的表之间的关系而言,关系的一的方面的主键字段一定要与关系的多的方面的外键字段相匹配。
Remember that for relationships between tables to work, the primary-key field on the one side of the relationship must match up to the foreign-key field on the many side of the relationship.
RentalLocation表可以通过Vehicle表中的AssignedLocation主键字段获取所有它分配的车辆。
The RentalLocation table can obtain all of its assigned vehicles through the Assigned Location primary key field in the Vehicle table.
用node和 node_revisions表中的数据库记录数据填充这个节点对象(node object),这个记录的主键字段值与URL 中的节点id相同。
This node object is populated with data from the database record in the node and node_revisions tables, whose primary key field value is the same as the node id in the URL.
而不是依赖你主键字段的命名假设上,或在你的Employee类中的冗余定义(例如,set _ primary_key'X '),DrySQL从你数据库信息schema中提取雇员表中的主键。
Set_primary_key 'X', DrySQL retrieves the primary key specification for your Employees table from your database's information schema.
对应于主键等字段的变量在各个实体中重复出现。
Variables for fields such as primary keys were duplicated from entity to entity.
如果没有主键,就会使用非长型字段的首列。
If there is no primary key, the first column that is not a long field is used.
一种原始的解决方案是向Eventbean添加一个包含所有参加特定活动的客户主键的字段。
A crude solution is to add a field to the event bean containing the primary keys of all clients attending that particular event.
“用户名(username)”字段是一个主键,应该以一种更受控的方式改变它。
The "username" field is a primary key and changing it should be done in a more controlled manner.
sql _ query必须包括后续查找需要使用的主键,并且它必须包括需要索引和用作组的所有字段。
The sql_query must include the primary key you want to use for subsequent lookups, and it must include all the fields you want to index and use as groups.
该表的主键应当命名为module_ContentPageID,连同要针对该模块收集的其他字段的名称。
The primary key of this table should be named module_ContentPageID, along with the names of additional fields you want to collect for the module.
可以看到,主键实际上是由street和city字段组合而成的。
You can see that the primary key is indeed a composite made up of the street and city fields.
最后使用field字段(该表的主键)更新employee表中的雇员名称。
Then it updates the employee name in the employee table using the identifier field, which is the primary key for this table.
默认情况下,Streamlined排除了特殊的Rails字段,例如外键、主键、时间戳,而包含了其余字段。
By default, Streamlined excludes special Rails fields such as foreign keys, primary keys, and timestamps, and includes the rest.
而如果没有指定主键,默认的分区键则为该表上所定义的第一个不为long字段的列。
If no primary key is specified, the default-partitioning key is the first non-long field column defined on the table.
通常最好是让SQLObject来管理表的id字段,即使是您不使用SQLObject时碰巧用另一个字段作为主键。
It's usually best to let SQLObject manage the id field of your table, even if you happen to have another field you'd make the primary key if you weren't using SQLObject.
VARCHAR字段作为主键会很慢。
一个数据表都有一个或者是若干个列,而每个表都可以有唯一标识列的字段,这些能够标识字段的列就是所谓的主键。
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 field had better want to use acquiescent value, unless those are automatic growth or advocate key external key.
字段最好都要采用默认值,除非那些自动增长型或主键外键。
The field had better want to use acquiescent value, unless those are automatic growth or advocate key external key.
应用推荐