📄 basic_mapping.po
字号:
"<![CDATA[<id\n"" name=\"propertyName\"\n"" type=\"typename\"\n"" column=\"column_name\"\n"" unsaved-value=\"null|any|none|undefined|id_value\"\n"" access=\"field|property|ClassName\">\n"" node=\"element-name|@attribute-name|element/@attribute|.\"\n""\n"" <generator class=\"generatorClass\"/>\n""</id>]]>"msgstr ""#. Tag: para#: basic_mapping.xml:509#, no-c-formatmsgid """<literal>name</literal> (optional): The name of the identifier property."msgstr """<literal>name</literal> (optionnel) : Nom de la propriété qui sert ""d'identifiant."#. Tag: para#: basic_mapping.xml:514#, no-c-formatmsgid """<literal>type</literal> (optional): A name that indicates the Hibernate type."msgstr "<literal>type</literal> (optionnel) : Nom indiquant le type Hibernate."#. Tag: para#: basic_mapping.xml:519#, no-c-formatmsgid """<literal>column</literal> (optional - defaults to the property name): The ""name of the primary key column."msgstr """<literal>column</literal> (optionnel - le nom de la propriété est pris par ""défaut) : Nom de la clef primaire."#. Tag: para#: basic_mapping.xml:525#, no-c-formatmsgid """<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> (optionnel - par défaut une valeur \"bien ""choisie\") : Une valeur de la propriété d'identifiant qui indique que ""l'instance est nouvellement instanciée (non sauvegardée), et qui la ""distingue des instances <literal>transient</literal>s qui ont été ""sauvegardées ou chargées dans une session précédente."#. 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> (optionnel - par défaut <literal>property</""literal>) : La stratégie que doit utiliser Hibernate pour accéder aux ""valeurs des propriétés.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - défaut à <literal>property</""literal>) : La stratégie qu'Hibernate utilisera pour accéder à la valeur de ""la propriété.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - par défaut à <literal>property</""literal>) : La stratégie à utiliser par Hibernate pour accéder à la valeur ""de la propriété.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - par défaut à <literal>property</""literal>) : La stratégie à utiliser par Hibernate pour accéder à la valeur ""de la propriété.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - par défaut à <literal>property</""literal>): Stratégie que Hibernate doit utiliser pour accéder à cette ""valeur.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - par défaut à <literal>property</""literal>) : La stratégie à utiliser par Hibernate pour accéder à la valeur ""de cette propriété.\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>formula</literal> (optionnel) : Presque toutes les associations one-""to-one pointent sur la clef primaire de l'entité propriétaire. Dans les ""rares cas différents, vous devez donner une ou plusieurs autres colonnes ou ""expression à joindre par une formule SQL (voir <literal>org.hibernate.test.""onetooneformula</literal> pour un exemple).\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>lazy</literal> (optionnel - par défaut à <literal>false</""literal>) : Indique que ce composant doit être chargé au premier accès à la ""variable d'instance (nécessite une instrumentation du bytecode au moment du ""build).\n""#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n""<literal>access</literal> (optionnel - par défaut à <literal>property</""literal>) : La stratégie à utiliser par Hibernate pour accéder à cette ""propriété."#. 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 """Si l'attribut <literal>name</literal> est absent, Hibernate considère que la ""classe ne possède pas de propriété identifiant."#. Tag: para#: basic_mapping.xml:546#, no-c-formatmsgid """The <literal>unsaved-value</literal> attribute is almost never needed in ""Hibernate3."msgstr """L'attribut <literal>unsaved-value</literal> est important ! Si l'identifiant ""de votre classe n'a pas une valeur par défaut compatible avec le ""comportement standard de Java (zéro ou null), vous devez alors préciser la ""valeur par défaut."#. 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 """La déclaration alternative <literal><composite-id></literal> permet ""l'acccès aux données d'anciens systèmes qui utilisent des clefs composées. ""Son utilisation est fortement déconseillée pour d'autres cas."#. 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 """L'élément fils <literal><generator></literal> nomme une classe Java ""utilisée pour générer les identifiants uniques pour les instances des ""classes persistantes. Si des paramètres sont requis pour configurer ou ""initialiser l'instance du générateur, ils sont passés en utilisant l'élément ""<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 """Tous les générateurs doivent implémenter l'interface <literal>org.hibernate.""id.IdentifierGenerator</literal>. C'est une interface très simple ; ""certaines applications peuvent proposer leur propre implémentations ""spécialisées. Cependant, Hibernate propose une série d'implémentations ""intégrées. Il existe des noms raccourcis pour les générateurs intégrés : ""<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 """Génère des identifiants de type <literal>long</literal>, <literal>short</""literal> ou <literal>int</literal> qui ne sont uniques que si aucun autre ""processus n'insère de données dans la même table. <emphasis>Ne pas utiliser ""en environnement clusterisé.</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 """Utilisation de la colonne identity de DB2, MySQL, MS SQL Server, Sybase et ""HypersonicSQL. L'identifiant renvoyé est de type <literal>long</literal>, ""<literal>short</literal> ou <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 """Utilisation des séquences dans DB2, PostgreSQL, Oracle, SAP DB, McKoi ou ""d'un générateur dans Interbase. L'identifiant renvoyé est de type ""<literal>long</literal>, <literal>short</literal> ou <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 """Utilise un algorithme hi/lo pour générer de façon efficace des identifiants ""de type <literal>long</literal>, <literal>short</literal> ou <literal>int</""literal>, en prenant comme source de valeur \"hi\" une table et une colonne ""(par défaut <literal>hibernate_unique_key</literal> et <literal>next_hi</""literal> respectivement). L'algorithme hi/lo génère des identifiants uniques ""pour une base de données particulière seulement."#. 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 """Utilise un algorithme hi/lo pour générer efficacement des identifiants de ""type <literal>long</literal>, <literal>short</literal> ou <literal>int</""literal>, étant donné un nom de séquence en base."#. 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 """Utilise un algorithme de type UUID 128 bits pour générer des identifiants de ""type string, unique au sein d'un réseau (l'adresse IP est utilisée). Le UUID ""en codé en une chaîne de nombre héxadécimaux de longueur 32."#. 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 """Utilise une chaîne GUID générée par la base pour MS SQL Server et MySQL."#. 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."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -