⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 collection_mapping.po

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 PO
📖 第 1 页 / 共 5 页
字号:
"literal> or <literal>desc</literal>"msgstr """<literal>order-by</literal> (opcional, s&#x00f3;lo JDK1.4) especifica una ""columna de tabla (o columnas) que definen el orden de iteraci&#x00f3;n del ""<literal>Map</literal>, <literal>Set</literal> o bag, junto a un ""<literal>asc</literal> o <literal>desc</literal> opcional."#: index.docbook:154msgid """<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</""literal> condition to be used when retrieving or removing the collection ""(useful if the collection should contain only a subset of the available data)"msgstr """<literal>where</literal> (opcional) especifica una condici&#x00f3;n ""<literal>WHERE</literal> de SQL arbitrario para ser usada al recuperar o ""quitar la colecci&#x00f3;n (&#x00fa;til si la colecci&#x00f3;n debe contener ""s&#x00f3;lo un subconjunto de los datos disponibles)"#: index.docbook:161msgid """<literal>fetch</literal> (optional, defaults to <literal>select</literal>) ""Choose between outer-join fetching, fetching by sequential select, and ""fetching by sequential subselect."msgstr """<literal>fetch</literal> (opcional, por defecto a <literal>select</literal>) ""Elige entre recuperaci&#x00f3;n por uni&#x00f3;n externa (outer-join), ""recuperar por selecci&#x00f3;n secuencial, y recuperaci&#x00f3;n por ""subselecci&#x00f3;n secuencial."#: index.docbook:168msgid """<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) ""specify a \"batch size\" for lazily fetching instances of this collection."msgstr """<literal>batch-size</literal> (opcional, por defecto a <literal>1</literal>) ""especifica un \"tama&#x00f1;o de lote\" para la recuperar perezosamente ""instancias de esta colecci&#x00f3;n."#: index.docbook:174msgid """<literal>access</literal> (optional - defaults to <literal>property</""literal>): The strategy Hibernate should use for accessing the collection ""property value."msgstr """<literal>access</literal> (opcional - por defecto a <literal>property</""literal>): La estrategia que debe usar Hibernate para acceder al valor de la ""propiedad."#: index.docbook:180msgid """<literal>optimistic-lock</literal> (optional - defaults to <literal>true</""literal>): Species that changes to the state of the collection results in ""increment of the owning entity's version. (For one to many associations, it ""is often reasonable to disable this setting.)"msgstr """<literal>optimistic-lock</literal> (opcional - por defecto a <literal>true</""literal>): Especifica que los cambios de estado de la colecci&#x00f3;n ""resultan en incrementos de versi&#x00f3;n de la entidad due&#x00f1;a. (Para ""asociaciones uno a muchos, frecuentemente es razonable deshabilitar esta ""opci&#x00f3;n.)"#: index.docbook:188msgid """<literal>mutable</literal> (optional - defaults to <literal>true</literal>): ""A value of <literal>false</literal> specifies that the elements of the ""collection never change (a minor performance optimization in some cases)."msgstr """<literal>mutable</literal> (optional - defaults to <literal>true</literal>): ""A value of <literal>false</literal> specifies that the elements of the ""collection never change (a minor performance optimization in some cases)."#: index.docbook:198msgid "Collection foreign keys"msgstr "Claves for&#x00e1;neas de collecci&#x00f3;n"#: index.docbook:200msgid """Collection instances are distinguished in the database by the foreign key of ""the entity that owns the collection. This foreign key is referred to as the ""<emphasis>collection key column</emphasis> (or columns) of the collection ""table. The collection key column is mapped by the <literal>&lt;key&gt;</""literal> element."msgstr """Las instancias de colecci&#x00f3;n se distinguen en la base de datos por la ""clave for&#x00e1;nea de la entidad que posee la colecci&#x00f3;n. Se hace ""referencia a esta clave for&#x00e1;nea como la <emphasis>columna clave de ""colecci&#x00f3;n</emphasis> (o columnas) de la tabla de colecci&#x00f3;n. La ""columna clave de la colecci&#x00f3;n es mapeada por el elemento <literal>&lt;""key&gt;</literal>."#: index.docbook:208msgid """There may be a nullability constraint on the foreign key column. For most ""collections, this is implied. For unidirectional one to many associations, ""the foreign key column is nullable by default, so you might need to specify ""<literal>not-null=\"true\"</literal>."msgstr """Puede haber una restricci&#x00f3;n de nulabilidad sobre la columna de clave ""for&#x00e1;nea. Para la mayor&#x00ed;a de colecciones, esto est&#x00e1; ""implicado. Para asociaciones unidireccionales uno a muchos, la columna de ""clave for&#x00e1;nea es nulable por defecto, de modo que podr&#x00ed;as ""necesitar especificar <literal>not-null=\"true\"</literal>."#: index.docbook:215msgid "<![CDATA[<key column=\"productSerialNumber\" not-null=\"true\"/>]]>"msgstr "<![CDATA[<key column=\"productSerialNumber\" not-null=\"true\"/>]]>"#: index.docbook:217msgid """The foreign key constraint may use <literal>ON DELETE CASCADE</literal>."msgstr """La restricci&#x00f3;n de clave for&#x00e1;nea puede usar <literal>ON DELETE ""CASCADE</literal>."#: index.docbook:221msgid "<![CDATA[<key column=\"productSerialNumber\" on-delete=\"cascade\"/>]]>"msgstr """<![CDATA[<key column=\"productSerialNumber\" on-delete=\"cascade\"/>]]>"#: index.docbook:223msgid """See the previous chapter for a full definition of the <literal>&lt;key&gt;</""literal> element."msgstr """Mira el cap&#x00ed;tulo anterior por una definici&#x00f3;n completa del ""elemento <literal>&lt;key&gt;</literal>."#: index.docbook:231msgid "Collection elements"msgstr "Elementos de collecci&#x00f3;n"#: index.docbook:233msgid """Collections may contain almost any other Hibernate type, including all basic ""types, custom types, components, and of course, references to other ""entities. This is an important distinction: an object in a collection might ""be handled with \"value\" semantics (its life cycle fully depends on the ""collection owner) or it might be a reference to another entity, with its own ""life cycle. In the latter case, only the \"link\" between the two objects is ""considered to be state held by the collection."msgstr """Las colecciones pueden contener casi cualquier tipo de Hibernate, incluyendo ""todos los tipos b&#x00e1;sicos, componentes, y por supuesto, referencias a ""otras entidades. Esta es una distinci&#x00f3;n importante: un objeto en una ""colecci&#x00f3;n puede ser manejado con una sem&#x00e1;ntica de \"valor""\" (su ciclo de vida depende completamente del propietario de la ""colecci&#x00f3;n) o podr&#x00ed;a ser una referencia a otra entidad, con su ""propio ciclo de vida. En el &#x00fa;ltimo caso, s&#x00f3;lo el estado del ""\"enlace\" entre los dos objetos se considera mantenido por la ""colecci&#x00f3;n."#: index.docbook:242msgid """The contained type is referred to as the <emphasis>collection element type</""emphasis>. Collection elements are mapped by <literal>&lt;element&gt;</""literal> or <literal>&lt;composite-element&gt;</literal>, or in the case of ""entity references, with <literal>&lt;one-to-many&gt;</literal> or ""<literal>&lt;many-to-many&gt;</literal>. The first two map elements with ""value semantics, the next two are used to map entity associations."msgstr """Se hace referencia al tipo contenido como el <emphasis>tipo de elemento de ""la colecci&#x00f3;n</emphasis>. Los elementos de colecci&#x00f3;n son ""mapeados por <literal>&lt;element&gt;</literal> o <literal>&lt;composite-""element&gt;</literal>, o en el caso de referencias de entidades, con ""<literal>&lt;one-to-many&gt;</literal> o <literal>&lt;many-to-many&gt;</""literal>. Las dos primeras mapean elementos con sem&#x00e1;ntica de valor, ""los dos siguientes son usados para mapear asociaciones de entidades."#: index.docbook:254msgid "Indexed collections"msgstr "Colecciones indexadas"#: index.docbook:256msgid """All collection mappings, except those with set and bag semantics, need an ""<emphasis>index column</emphasis> in the collection table - a column that ""maps to an array index, or <literal>List</literal> index, or <literal>Map</""literal> key. The index of a <literal>Map</literal> may be of any basic ""type, mapped with <literal>&lt;map-key&gt;</literal>, it may be an entity ""reference mapped with <literal>&lt;map-key-many-to-many&gt;</literal>, or it ""may be a composite type, mapped with <literal>&lt;composite-map-key&gt;</""literal>. The index of an array or list is always of type <literal>integer</""literal> and is mapped using the <literal>&lt;list-index&gt;</literal> ""element. The mapped column contains sequential integers (numbered from zero, ""by default)."msgstr """Todos los mapeos de colecci&#x00f3;n, excepto aquellos con sem&#x00e1;ntica ""de set o bag, necesitan una <emphasis>columna &#x00ed;ndice</emphasis> en la ""tabla de colecci&#x00f3;n, una columna que mapea a un &#x00ed;ndice de ""array, o &#x00ed;ndice de <literal>List</literal>, o clave de <literal>Map</""literal>. El &#x00ed;ndice de un <literal>Map</literal> puede ser de ""cualquier tipo b&#x00e1;sico, mapeado con <literal>&lt;map-key&gt;</""literal>, o puede ser una referencia de entidad, mapeada con <literal>&lt;""map-key-many-to-many&gt;</literal>, o puede ser un tipo compuesto, mapeado ""con <literal>&lt;composite-map-key&gt;</literal>. El &#x00ed;ndice de un ""array o lista es siempre de tipo <literal>integer</literal> y se mapea ""usando el elemento <literal>&lt;list-index&gt;</literal>. La columna mapeada ""contiene enteros secuenciales (numerados desde cero, por defecto)."#: index.docbook:267msgid """<programlistingco> <areaspec> <area id=\"index1\" coords=\"2 45\"/> <area id=""\"index2\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<list-""index \n""        column=\"column_name\"\n""        base=\"0|1|...\"/>]]></programlisting> <calloutlist> <callout ""arearefs=\"index1\"> <para> <literal>column_name</literal> (required): The ""name of the column holding the collection index values. </para> </callout> ""<callout arearefs=\"index1\"> <para> <literal>base</literal> (optional, ""defaults to <literal>0</literal>): The value of the index column that ""corresponds to the first element of the list or array. </para> </callout> </""calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=""\"mapkey1\" coords=\"2 45\"/> <area id=\"mapkey2\" coords=\"3 45\"/> <area ""id=\"mapkey3\" coords=\"4 45\"/> </areaspec> <programlisting><![CDATA[<map-""key \n""        column=\"column_name\"\n""        formula=\"any SQL expression\"\n""        type=\"type_name\"\n""        node=\"@attribute-name\"\n""        length=\"N\"/>]]></programlisting> <calloutlist> <callout arearefs=""\"mapkey1\"> <para> <literal>column</literal> (optional): The name of the ""column holding the collection index values. </para> </callout> <callout ""arearefs=\"mapkey2\"> <para> <literal>formula</literal> (optional): A SQL ""formula used to evaluate the key of the map. </para> </callout> <callout ""arearefs=\"mapkey3\"> <para> <literal>type</literal> (reguired): The type of ""the map keys. </para> </callout> </calloutlist> </programlistingco> ""<programlistingco> <areaspec> <area id=\"indexmanytomany1\" coords=\"2 45\"/""> <area id=\"indexmanytomany2\" coords=\"3 45\"/> <area id=\"indexmanytomany3""\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<map-key-many-to-""many\n""        column=\"column_name\"\n""        formula=\"any SQL expression\"\n""        class=\"ClassName\"\n""/>]]></programlisting> <calloutlist> <callout arearefs=\"indexmanytomany1\"> ""<para> <literal>column</literal> (optional): The name of the foreign key ""column for the collection index values. </para> </callout> <callout arearefs=""\"indexmanytomany2\"> <para> <literal>formula</literal> (optional): A SQL ""formula used to evaluate the foreign key of the map key. </para> </callout> ""<callout arearefs=\"indexmanytomany3\"> <para> <literal>class</literal> ""(required): The entity class used as the map key. </para> </callout> </""calloutlist> </programlistingco>"msgstr """<programlistingco> <areaspec> <area id=\"index1\" coords=\"2 45\"/> <area id=""\"index2\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<list-""index \n""        column=\"column_name\"\n""        base=\"0|1|...\"/>]]></programlisting> <calloutlist> <callout ""arearefs=\"index1\"> <para> <literal>column_name</literal> (requerido): El ""nombre de la columna que tiene los valores &#x00ed;ndice de la ""colecci&#x00f3;n. </para> </callout> <callout arearefs=\"index1\"> <para> ""<literal>base</literal> (opcional, por defecto a <literal>0</literal>): El ""valor de la columna &#x00ed;ndice que corresponde al primer elemento de la ""lista o array. </para> </callout> </calloutlist> </programlistingco> ""<programlistingco> <areaspec> <area id=\"mapkey1\" coords=\"2 45\"/> <area ""id=\"mapkey2\" coords=\"3 45\"/> <area id=\"mapkey3\" coords=\"4 45\"/> </""areaspec> <programlisting><![CDATA[<map-key \n""        column=\"column_name\"\n""        formula=\"any SQL expression\"\n""        type=\"type_name\"\n""        node=\"@attribute-name\"\n""        length=\"N\"/>]]></programlisting> <calloutlist> <callout arearefs=""\"mapkey1\"> <para> <literal>column</literal> (opcional): El nombre de la ""columna que tiene los valores &#x00ed;ndice de la colecci&#x00f3;n. </para> ""</callout> <callout arearefs=\"mapkey2\"> <para> <literal>formula</literal> ""(opcional): Una f&#x00f3;rmula SQL usada para evaluar la clave del mapa. </""para> </callout> <callout arearefs=\"mapkey3\"> <para> <literal>type</""literal> (requerido): el tipo de las claves del mapa. </para> </callout> </""calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=""\"indexmanytomany1\" coords=\"2 45\"/> <area id=\"indexmanytomany2\" coords=""\"3 45\"/> <area id=\"indexmanytomany3\" coords=\"3 45\"/> </areaspec> ""<programlisting><![CDATA[<map-key-many-to-many\n""        column=\"column_name\"\n""        formula=\"any SQL expression\"\n""        class=\"ClassName\"\n""/>]]></programlisting> <calloutlist> <callout arearefs=\"indexmanytomany1\"> ""<para> <literal>column</literal> (opcional): El nombre de la columna clave ""for&#x00e1;nea para los valores &#x00ed;ndice de la colecci&#x00f3;n. </""para> </callout> <callout arearefs=\"indexmanytomany2\"> <para> ""<literal>formula</literal> (opcional): Una f&#x00f3;rmula SQL usada para ""evaluar la clave for&#x00e1;nea de la clave del mapa. </para> </callout> ""<callout arearefs=\"indexmanytomany3\"> <para> <literal>class</literal> ""(requerido): La clase de entidad usada como clave del mapa. </para> </""callout> </calloutlist> </programlistingco>"#: index.docbook:348msgid """If your table doesn't have an index column, and you still wish to use ""<literal>List</literal> as the property type, you should map the property as ""a Hibernate <emphasis>&lt;bag&gt;</emphasis>. A bag does not retain its ""order when it is retrieved from the database, but it may be optionally ""sorted or ordered."msgstr """Si tu tabla no tiene una columna &#x00ed;ndice, y deseas a&#x00fa;n usar ""<literal>List</literal> como tipo de propiedad, debes mapear la propiedad ""como un <emphasis>&lt;bag&gt;</emphasis> de Hibernate. Un bag (bolsa) no ""retiene su orden al ser recuperado de la base de datos, pero puede ser ""ordenado o clasificado opcionalmente."#: index.docbook:357msgid """There are quite a range of mappings that can be generated for collections, ""covering many common relational models. We suggest you experiment with the ""schema generation tool to get a feeling for how various mapping declarations ""translate to database tables."msgstr """Hay absolutamente un rango de mapeos que pueden ser generados para "

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -