📄 basic_mapping.po
字号:
msgid """<literal>unsaved-value</literal> (optional - defaults to a \"sensible\" ""value): An identifier property value that indicates that an instance is ""newly instantiated (unsaved), distinguishing it from detached instances that ""were saved or loaded in a previous session."msgstr """<literal>unsaved-value</literal> (可选 - 默认为一个切合实际(sensible)的""值): 一个特定的标识属性值,用来标志该实例是刚刚创建的,尚未保存。 这可以把这""种实例和从以前的session中装载过(可能又做过修改--译者注) 但未再次持久化的实""例区分开来。"#. Tag: para#: basic_mapping.xml:533 basic_mapping.xml:1041 basic_mapping.xml:1180#: basic_mapping.xml:1262 basic_mapping.xml:1369 basic_mapping.xml:1558#: basic_mapping.xml:1732 basic_mapping.xml:1902 basic_mapping.xml:2481#, fuzzy, no-c-formatmsgid """<literal>access</literal> (optional - defaults to <literal>property</""literal>): The strategy Hibernate should use for accessing the property ""value."msgstr """#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认为<literal>property</literal>): ""Hibernate用来访问属性值的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认为<literal>property</literal>): ""Hibernate应该使用的访问此属性值的策略\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认是 <literal>property</literal>): ""Hibernate用于访问属性值的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认是 <literal>property</literal>): ""Hibernate用于访问属性值的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认值为 <literal>property</literal>): ""Hibernate用来访问属性值的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认是 <literal>property</literal>): ""Hibernate用来访问属性的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认是 <literal>property</literal>): ""Hibernate用来访问属性的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 - 默认是 <literal>property</literal>): ""Hibernate用来访问属性的策略。\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (可选 -默认是 <literal>property</literal>): ""Hibernate 用来访问属性值的策略。"#. Tag: para#: basic_mapping.xml:541#, no-c-formatmsgid """If the <literal>name</literal> attribute is missing, it is assumed that the ""class has no identifier property."msgstr "如果 <literal>name</literal>属性不存在,会认为这个类没有标识属性。"#. Tag: para#: basic_mapping.xml:546#, no-c-formatmsgid """The <literal>unsaved-value</literal> attribute is almost never needed in ""Hibernate3."msgstr "<literal>unsaved-value</literal> 属性在Hibernate3中几乎不再需要。"#. Tag: para#: basic_mapping.xml:550#, no-c-formatmsgid """There is an alternative <literal><composite-id></literal> declaration ""to allow access to legacy data with composite keys. We strongly discourage ""its use for anything else."msgstr """还有一个另外的<literal><composite-id></literal>定义可以访问旧式的多主键""数据。 我们强烈不建议使用这种方式。"#. Tag: title#: basic_mapping.xml:556#, no-c-formatmsgid "Generator"msgstr "Generator"#. Tag: para#: basic_mapping.xml:558#, no-c-formatmsgid """The optional <literal><generator></literal> child element names a Java ""class used to generate unique identifiers for instances of the persistent ""class. If any parameters are required to configure or initialize the ""generator instance, they are passed using the <literal><param></""literal> element."msgstr """可选的<literal><generator></literal>子元素是一个Java类的名字, 用来为该""持久化类的实例生成唯一的标识。如果这个生成器实例需要某些配置值或者初始化参""数, 用<literal><param></literal>元素来传递。"#. Tag: programlisting#: basic_mapping.xml:565#, no-c-formatmsgid """<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"" <generator class=\"org.hibernate.id.TableHiLoGenerator\">\n"" <param name=\"table\">uid_table</param>\n"" <param name=\"column\">next_hi_value_column</param>\n"" </generator>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:567#, fuzzy, no-c-formatmsgid """All generators implement the interface <literal>org.hibernate.id.""IdentifierGenerator</literal>. This is a very simple interface; some ""applications may choose to provide their own specialized implementations. ""However, Hibernate provides a range of built-in implementations. There are ""shortcut names for the built-in generators:"msgstr """所有的生成器都实现<literal>org.hibernate.id.IdentifierGenerator</literal>接""口。 这是一个非常简单的接口;某些应用程序可以选择提供他们自己特定的实现。当""然, Hibernate提供了很多内置的实现。下面是一些内置生成器的快捷名字: ""<placeholder-1/>"#. Tag: literal#: basic_mapping.xml:575#, no-c-formatmsgid "increment"msgstr "increment"#. Tag: para#: basic_mapping.xml:577#, no-c-formatmsgid """generates identifiers of type <literal>long</literal>, <literal>short</""literal> or <literal>int</literal> that are unique only when no other ""process is inserting data into the same table. <emphasis>Do not use in a ""cluster.</emphasis>"msgstr """用于为<literal>long</literal>, <literal>short</literal>或者<literal>int</""literal>类型生成 唯一标识。只有在没有其他进程往同一张表中插入数据时才能使""用。 <emphasis>在集群下不要使用。</emphasis>"#. Tag: literal#: basic_mapping.xml:586#, no-c-formatmsgid "identity"msgstr "identity"#. Tag: para#: basic_mapping.xml:588#, no-c-formatmsgid """supports identity columns in DB2, MySQL, MS SQL Server, Sybase and ""HypersonicSQL. The returned identifier is of type <literal>long</literal>, ""<literal>short</literal> or <literal>int</literal>."msgstr """对DB2,MySQL, MS SQL Server, Sybase和HypersonicSQL的内置标识字段提供支持。 返""回的标识符是<literal>long</literal>, <literal>short</literal> 或者""<literal>int</literal>类型的。"#. Tag: literal#: basic_mapping.xml:596#, no-c-formatmsgid "sequence"msgstr "sequence"#. Tag: para#: basic_mapping.xml:598#, no-c-formatmsgid """uses a sequence in DB2, PostgreSQL, Oracle, SAP DB, McKoi or a generator in ""Interbase. The returned identifier is of type <literal>long</literal>, ""<literal>short</literal> or <literal>int</literal>"msgstr """在DB2,PostgreSQL, Oracle, SAP DB, McKoi中使用序列(sequence), 而在Interbase""中使用生成器(generator)。返回的标识符是<literal>long</literal>, ""<literal>short</literal>或者 <literal>int</literal>类型的。"#. Tag: literal#: basic_mapping.xml:606#, no-c-formatmsgid "hilo"msgstr "hilo"#. Tag: para#: basic_mapping.xml:608#, no-c-formatmsgid """uses a hi/lo algorithm to efficiently generate identifiers of type ""<literal>long</literal>, <literal>short</literal> or <literal>int</literal>, ""given a table and column (by default <literal>hibernate_unique_key</literal> ""and <literal>next_hi</literal> respectively) as a source of hi values. The ""hi/lo algorithm generates identifiers that are unique only for a particular ""database."msgstr """使用一个高/低位算法高效的生成<literal>long</literal>, <literal>short</""literal> 或者 <literal>int</literal>类型的标识符。给定一个表和字段(默认分别""是 <literal>hibernate_unique_key</literal> 和<literal>next_hi</literal>)作为""高位值的来源。 高/低位算法生成的标识符只在一个特定的数据库中是唯一的。"#. Tag: literal#: basic_mapping.xml:618#, no-c-formatmsgid "seqhilo"msgstr "seqhilo"#. Tag: para#: basic_mapping.xml:620#, no-c-formatmsgid """uses a hi/lo algorithm to efficiently generate identifiers of type ""<literal>long</literal>, <literal>short</literal> or <literal>int</literal>, ""given a named database sequence."msgstr """使用一个高/低位算法来高效的生成<literal>long</literal>, <literal>short</""literal> 或者 <literal>int</literal>类型的标识符,给定一个数据库序列""(sequence)的名字。"#. Tag: literal#: basic_mapping.xml:628#, no-c-formatmsgid "uuid"msgstr "uuid"#. Tag: para#: basic_mapping.xml:630#, no-c-formatmsgid """uses a 128-bit UUID algorithm to generate identifiers of type string, unique ""within a network (the IP address is used). The UUID is encoded as a string ""of hexadecimal digits of length 32."msgstr """用一个128-bit的UUID算法生成字符串类型的标识符, 这在一个网络中是唯一的(使用""了IP地址)。UUID被编码为一个32位16进制数字的字符串。"#. Tag: literal#: basic_mapping.xml:638#, no-c-formatmsgid "guid"msgstr "guid"#. Tag: para#: basic_mapping.xml:640#, no-c-formatmsgid "uses a database-generated GUID string on MS SQL Server and MySQL."msgstr "在MS SQL Server 和 MySQL 中使用数据库生成的GUID字符串。"#. Tag: literal#: basic_mapping.xml:646#, no-c-formatmsgid "native"msgstr "native"#. Tag: para#: basic_mapping.xml:648#, no-c-formatmsgid """picks <literal>identity</literal>, <literal>sequence</literal> or ""<literal>hilo</literal> depending upon the capabilities of the underlying ""database."msgstr """根据底层数据库的能力选择<literal>identity</literal>, <literal>sequence</""literal> 或者<literal>hilo</literal>中的一个。"#. Tag: literal#: basic_mapping.xml:656#, no-c-formatmsgid "assigned"msgstr "assigned"#. Tag: para#: basic_mapping.xml:658#, no-c-formatmsgid """lets the application to assign an identifier to the object before ""<literal>save()</literal> is called. This is the default strategy if no ""<literal><generator></literal> element is specified."msgstr """让应用程序在<literal>save()</literal>之前为对象分配一个标示符。这是 ""<literal><generator></literal>元素没有指定时的默认生成策略。"#. Tag: literal#: basic_mapping.xml:666#, no-c-formatmsgid "select"msgstr "select"#. Tag: para#: basic_mapping.xml:668#, no-c-formatmsgid """retrieves a primary key assigned by a database trigger by selecting the row ""by some unique key and retrieving the primary key value."msgstr "通过数据库触发器选择一些唯一主键的行并返回主键值来分配一个主键。"#. Tag: literal#: basic_mapping.xml:675#, no-c-formatmsgid "foreign"msgstr "foreign"#. Tag: para#: basic_mapping.xml:677#, no-c-formatmsgid """uses the identifier of another associated object. Usually used in ""conjunction with a <literal><one-to-one></literal> primary key ""association."msgstr """使用另外一个相关联的对象的标识符。通常和<literal><one-to-one></literal>""联合起来使用。"#. Tag: literal#: basic_mapping.xml:684#, no-c-formatmsgid "sequence-identity"msgstr "sequence-identity"#. Tag: para#: basic_mapping.xml:686#, no-c-format
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -