[jboss-cvs] JBossAS SVN: r88779 - projects/docs/enterprise/4.3.3/Hibernate/Annotations_Reference_Guide/fr-FR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 13 02:19:34 EDT 2009


Author: croe at redhat.com
Date: 2009-05-13 02:19:34 -0400 (Wed, 13 May 2009)
New Revision: 88779

Modified:
   projects/docs/enterprise/4.3.3/Hibernate/Annotations_Reference_Guide/fr-FR/Entity.po
Log:
Translation in progress

Modified: projects/docs/enterprise/4.3.3/Hibernate/Annotations_Reference_Guide/fr-FR/Entity.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Annotations_Reference_Guide/fr-FR/Entity.po	2009-05-13 05:49:00 UTC (rev 88778)
+++ projects/docs/enterprise/4.3.3/Hibernate/Annotations_Reference_Guide/fr-FR/Entity.po	2009-05-13 06:19:34 UTC (rev 88779)
@@ -9,7 +9,7 @@
 "Project-Id-Version: Entity\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-05-12 01:33+0000\n"
-"PO-Revision-Date: 2009-05-12 16:12+1000\n"
+"PO-Revision-Date: 2009-05-13 16:13+1000\n"
 "Last-Translator: Corina Roe <croe at redhat.com>\n"
 "Language-Team: French <i18 at redhat.com>\n"
 "MIME-Version: 1.0\n"
@@ -377,7 +377,7 @@
 "instrumented: bytecode is added to the original one to enable such feature, "
 "please refer to the Hibernate reference documentation. If your classes are "
 "not instrumented, property level lazy loading is silently ignored."
-msgstr ""
+msgstr "Pour permettre de récupérer à la demande les niveaux de propriété, vos classes devront être instrumentées: le code à octets est ajouté est rajouté sur l'original pour permettre une telle fonctionnalité, veuillez vous rapporter à la documentation de référence Hibernate. Si vos classes ne sont pas instrumentées, le chargement des niveaux de propriété à la demande est ignoré en silence."
 
 #. Tag: para
 #: Entity.xml:69
@@ -385,7 +385,7 @@
 msgid ""
 "The recommended alternative is to use the projection capability of EJB-QL or "
 "Criteria queries."
-msgstr ""
+msgstr "La solution alternative est d'utiliser la capacité de projection d'EJB-QL ou des demandes de Criteria."
 
 #. Tag: para
 #: Entity.xml:72
@@ -398,7 +398,7 @@
 "the enum string representation): the persistence representation, defaulted "
 "to ordinal, can be overriden through the <literal>@Enumerated</literal> "
 "annotation as shown in the <literal>note</literal> property example."
-msgstr ""
+msgstr "EJB3 supporte le mappage de tous les types de base pris en charge par Hibernate (tous les types Java de base, leurs enveloppes respectives et classes sérialisables). Hibernate Annotations prend en charge le mappage de type, soit sous forme de colonne ordinale (en gardant l'ordinal Enum) ou de colonne basée chaînes (en gardant la representation en chaîne Enum) : la représentation persistante, rendue ordinale par défaut, peut être surchargée par l'annotation <literal>@Enumerated</literal>, comme le montre l'exemple de propriété <literal>note</literal>."
 
 #. Tag: para
 #: Entity.xml:75
@@ -410,6 +410,8 @@
 "<literal>TIMESTAMP</literal> precision (ie the actual date, only the time, "
 "or both). Use the <literal>@Temporal</literal> annotation to fine tune that."
 msgstr ""
+"Pour les API Java core, la précision temporelle n'est pas définie. Quand on traite des données temporelles, il pourrait être utilise de décrire la précision à laquelle on s'attend dans la base de données. Les données temporelles peuevent inclure les précisions suivantes : <literal>DATE</literal>, <literal>TIME</literal>, ou "
+"<literal>TIMESTAMP</literal> (c'est à dire la date, ou juste l'heure, ou encore les deux)\" Utiliser l'annotation <literal>@Temporal</literal> pour le perfectionner."
 
 #. Tag: para
 #: Entity.xml:78
@@ -423,6 +425,10 @@
 "<classname>byte[] </classname>and serializable type will be persisted in a "
 "Blob."
 msgstr ""
+"<literal>@Lob</literal> indique que la propriété devrait être persistée dans un Blob ou dans un Clob, suivant le type de propriété : <classname>java.sql.Clob</"
+"classname>, <classname>Character[]</classname>, <classname>char[]</"
+"classname> et java.lang.<classname>String</classname> sera persisté dans un Clob. <classname>java.sql.Blob</classname>, <classname>Byte[]</classname>, "
+"<classname>byte[] </classname> et le type serialisable seront perrsistés dans un Blob."
 
 #. Tag: programlisting
 #: Entity.xml:81
@@ -438,6 +444,15 @@
 "    return fullCode;\n"
 "}"
 msgstr ""
+"@Lob\n"
+"public String getFullText() {\n"
+"    return fullText;\n"
+"}\n"
+"\n"
+"@Lob \n"
+"public byte[] getFullCode() {\n"
+"    return fullCode;\n"
+"}"
 
 #. Tag: para
 #: Entity.xml:82
@@ -447,13 +462,13 @@
 "and is not a basic type, and if the property is not annotated with "
 "<literal>@Lob</literal>, then the Hibernate <literal>serializable</literal> "
 "type is used."
-msgstr ""
+msgstr "Si le type de propriété implémente <classname>java.io.Serializable</classname> et n'est pas un type de base, et si la propriété n'est pas annotée par <literal>@Lob</literal>, alors le type Hibernate <literal>serializable</literal> est utilisé."
 
 #. Tag: title
 #: Entity.xml:85
 #, no-c-format
 msgid "Declaring column attributes"
-msgstr ""
+msgstr "Déclaration des attributs de colonnes"
 
 #. Tag: para
 #: Entity.xml:86
@@ -463,37 +478,37 @@
 "<literal>@Column</literal> annotation. Use it to override default values "
 "(see the EJB3 specification for more information on the defaults). You can "
 "use this annotation at the property level for properties that are:"
-msgstr ""
+msgstr "Toute colonne utilisée pour un mappage de propriété peut être définie en utilisant l'annotation <literal>@Column</literal>. Utilisez-là pour surcharger les valeurs par défaut (voir la spécification EJB3 pour plus d'informations sur les valeurs par défaut). Vous pouvez utiliser cette annotation au niveau propriété, pour celles qui sont :"
 
 #. Tag: para
 #: Entity.xml:91
 #, no-c-format
 msgid "not annotated at all"
-msgstr ""
+msgstr "non-annotées"
 
 #. Tag: para
 #: Entity.xml:96
 #, no-c-format
 msgid "annotated with <literal>@Basic</literal>"
-msgstr ""
+msgstr "annotées avec <literal>@Basic</literal>"
 
 #. Tag: para
 #: Entity.xml:101
 #, no-c-format
 msgid "annotated with <literal>@Version</literal>"
-msgstr ""
+msgstr "annotées avec <literal>@Version</literal>"
 
 #. Tag: para
 #: Entity.xml:106
 #, no-c-format
 msgid "annotated with <literal>@Lob</literal>"
-msgstr ""
+msgstr "annotées avec <literal>@Lob</literal>"
 
 #. Tag: para
 #: Entity.xml:111
 #, no-c-format
 msgid "annotated with <literal>@Temporal</literal>"
-msgstr ""
+msgstr "annotées avec <literal>@Temporal</literal>"
 
 #. Tag: para
 #: Entity.xml:116
@@ -502,6 +517,8 @@
 "annotated with <literal>@org.hibernate.annotations.CollectionOfElements</"
 "literal> (for Hibernate only)"
 msgstr ""
+"annotées avec <literal>@org.hibernate.annotations.CollectionOfElements</"
+"literal> (pour Hibernate uniquement)"
 
 #. Tag: programlisting
 #: Entity.xml:121
@@ -514,6 +531,12 @@
 "length=50)\n"
 "public String getName() { ... }"
 msgstr ""
+"@Entity\n"
+"public class Flight implements Serializable {\n"
+"...\n"
+"@Column(updatable = false, name = \"flight_name\", nullable = false, "
+"length=50)\n"
+"public String getName() { ... }"
 
 #. Tag: para
 #: Entity.xml:122
@@ -522,7 +545,7 @@
 "The <literal>name</literal> property is mapped to the <literal>flight_name</"
 "literal> column, which is not nullable, has a length of 50 and is not "
 "updatable (making the property immutable)."
-msgstr ""
+msgstr "La propriété <literal>name</literal> est mappée à la colonne <literal>flight_name</literal>, que l'on ne peut nullifier, avec une longueur de 50 est qui ne peut pas être mise à jour (rendant ainsi la propriété immutable)."
 
 #. Tag: para
 #: Entity.xml:125
@@ -530,7 +553,7 @@
 msgid ""
 "This annotation can be applied to regular properties as well as "
 "<literal>@Id</literal> or <literal>@Version</literal> properties."
-msgstr ""
+msgstr "Cette annotation peut s'appliquer à des propriétés habituelles, ainsi qu'à des propriétés <<literal>@Id</literal> ou <literal>@Version</literal>."
 
 #. Tag: programlisting
 #: Entity.xml:141
@@ -548,6 +571,17 @@
 "    int precision() default 0; // decimal precision\n"
 "    int scale() default 0; // decimal scale"
 msgstr ""
+"@Column(\n"
+"    name=\"columnName\";\n"
+"    boolean unique() default false;\n"
+"    boolean nullable() default true;\n"
+"    boolean insertable() default true;\n"
+"    boolean updatable() default true;\n"
+"    String columnDefinition() default \"\";\n"
+"    String table() default \"\";\n"
+"    int length() default 255;\n"
+"    int precision() default 0; // decimal precision\n"
+"    int scale() default 0; // decimal scale"
 
 #. Tag: para
 #: Entity.xml:144
@@ -555,7 +589,7 @@
 msgid ""
 "<literal>name</literal> (optional): the column name (default to the property "
 "name)"
-msgstr ""
+msgstr "<literal>name</literal> (optionnel) : le nom de colonne (nom de propriété par défaut)"
 
 #. Tag: para
 #: Entity.xml:149
@@ -563,7 +597,7 @@
 msgid ""
 "<literal>unique</literal> (optional): set a unique constraint on this column "
 "or not (default false)"
-msgstr ""
+msgstr "<literal>unique</literal> (optionnel): configure une contrainte unique à cette colonne ou non (avec false par défaut)"
 
 #. Tag: para
 #: Entity.xml:154
@@ -572,6 +606,8 @@
 "<literal>nullable</literal> (optional): set the column as nullable (default "
 "false)."
 msgstr ""
+"<literal>nullable</literal> (optionnel): configure la colonne en tant qu'annulable (avec "
+"false par défaut)."
 
 #. Tag: para
 #: Entity.xml:159
@@ -579,7 +615,7 @@
 msgid ""
 "<literal>insertable</literal> (optional): whether or not the column will be "
 "part of the insert statement (default true)"
-msgstr ""
+msgstr "<literal>insertable</literal> (optionnel): si la colonne fait ou non partie de l'énoncé d'insertion (true par défaut)"
 
 #. Tag: para
 #: Entity.xml:164
@@ -587,7 +623,7 @@
 msgid ""
 "<literal>updatable</literal> (optional): whether or not the column will be "
 "part of the update statement (default true)"
-msgstr ""
+msgstr "<literal>updatable</literal> (optionnel): si la colonne fait ou non partie de l'énoncé mis à jour (true par défaut)"
 
 #. Tag: para
 #: Entity.xml:169
@@ -596,6 +632,8 @@
 "<literal>columnDefinition</literal> (optional): override the sql DDL "
 "fragment for this particular column (non portable)"
 msgstr ""
+"<literal>columnDefinition</literal> (optionnel): surcharge le fragment sql DDL "
+"pour cette colonne en particulier (non portable)"
 
 #. Tag: para
 #: Entity.xml:174
@@ -603,7 +641,7 @@
 msgid ""
 "<literal>table</literal> (optional): define the targeted table (default "
 "primary table)"
-msgstr ""
+msgstr "<literal>table</literal> (optionnel): definit la table ciblée (table primaire par défaut)"
 
 #. Tag: para
 #: Entity.xml:179
@@ -612,6 +650,8 @@
 "<literal><literal>length</literal></literal> (optional): column length "
 "(default 255)"
 msgstr ""
+"<literal><literal>length</literal></literal> (optionnel): longueur de la colonne "
+"(255 par défaut)"
 
 #. Tag: para
 #: Entity.xml:184
@@ -619,7 +659,7 @@
 msgid ""
 "<literal><literal>precision</literal></literal> (optional): column decimal "
 "precision (default 0)"
-msgstr ""
+msgstr "<literal><literal>precision</literal></literal> (optionnel): précision décimale pour la colonne (0 par défaut)"
 
 #. Tag: para
 #: Entity.xml:189
@@ -627,13 +667,13 @@
 msgid ""
 "<literal><literal>scale</literal></literal> (optional): column decimal scale "
 "if useful (default 0)"
-msgstr ""
+msgstr "<literal><literal>scale</literal></literal> (optionnel): échelle de colonne décimale si c'est utile (0 par défaut)"
 
 #. Tag: title
 #: Entity.xml:196
 #, no-c-format
 msgid "Embedded objects (aka components)"
-msgstr ""
+msgstr "Objets imbriqués (alias composants)"
 
 #. Tag: para
 #: Entity.xml:197
@@ -646,6 +686,8 @@
 "particular entity using the <literal>@Embedded</literal> and "
 "<literal>@AttributeOverride</literal> annotation in the associated property:"
 msgstr ""
+"Il est possible de déclarer un composant inbriqué à l'intérieur d'une entité ou de surcharger son mappage de colonne. Les classes de composants ont été annotés au niveau de la classe par l'annotation <literal>@Embeddable</literal>. Il est possible de surcharger le mappage de la colonne d'un objet imbriqué pour une entité donnée en utilisant les annotations <literal>@Embedded</literal> et "
+"<literal>@AttributeOverride</literal> dans la propriété associée :"
 
 #. Tag: programlisting
 #: Entity.xml:200
@@ -668,6 +710,22 @@
 "    ...\n"
 "}"
 msgstr ""
+"@Entity\n"
+"public class Person implements Serializable {\n"
+"\n"
+"    // Persistent component using defaults\n"
+"    Address homeAddress;\n"
+"\n"
+"    @Embedded\n"
+"    @AttributeOverrides( {\n"
+"            @AttributeOverride(name=\"iso2\", column = @Column(name="
+"\"bornIso2\") ),\n"
+"            @AttributeOverride(name=\"name\", column = @Column(name="
+"\"bornCountryName\") )\n"
+"    } )\n"
+"    Country bornIn;\n"
+"    ...\n"
+"}"
 
 #. Tag: programlisting
 #: Entity.xml:201
@@ -679,6 +737,11 @@
 "    Country nationality; //no overriding here\n"
 "}"
 msgstr ""
+"@Embeddable\n"
+"public class Address implements Serializable {\n"
+"    String city;\n"
+"    Country nationality; //no overriding here\n"
+"}"
 
 #. Tag: programlisting
 #: Entity.xml:202
@@ -698,6 +761,19 @@
 "    ...\n"
 "}"
 msgstr ""
+"@Embeddable\n"
+"public class Country implements Serializable {\n"
+"    private String iso2;\n"
+"    @Column(name=\"countryName\") private String name;\n"
+"\n"
+"    public String getIso2() { return iso2; }\n"
+"    public void setIso2(String iso2) { this.iso2 = iso2; }\n"
+"\n"
+"    \n"
+"    public String getName() { return name; }\n"
+"    public void setName(String name) { this.name = name; }\n"
+"    ...\n"
+"}"
 
 #. Tag: para
 #: Entity.xml:203
@@ -708,6 +784,9 @@
 "literal> annotations (see <xref linkend=\"Entity_Beans-"
 "Hibernate_Annotation_Extensions\"/>)."
 msgstr ""
+"Un objet imbriqué hérite le type d'accés de son entité de propriété (notez bien que vous pouvez le surcharher en utilisant les annotations spécifiques Hibernate <literal>@AccessType</"
+"literal> (voir <xref linkend=\"Entity_Beans-"
+"Hibernate_Annotation_Extensions\"/>)."
 
 #. Tag: para
 #: Entity.xml:206
@@ -727,6 +806,9 @@
 "objects of embedded objects is currently not supported in the EJB3 spec, "
 "however, Hibernate Annotations supports it through dotted expressions."
 msgstr ""
+"Le bean d'entité <literal>Person</literal> comprend deux propriétés de composant, <literal>homeAddress</literal> et <literal>bornIn</literal>. La propriété <literal>homeAddress</literal> n'a pas été annotée, mais Hibernate devinera que c'est un composant persistant en vérifiant l'annotation <literal>@Embeddable</literal> dans la classe Address. On surcharge également le mappage du nom de colonne (<literal>bornCountryName</"
+"literal>) avec les annotations <literal>@Embedded</literal> et "
+"<literal>@AttributeOverride </literal> pour chaque attribut mappé de <literal>Country</literal>. Comme vous pouvez voir, <literal>Country </literal> est également un composant imbriqué d'<literal>Address</literal>, utilisant à nouveau la détection par les valeurs par défaut d'EJB3 et d'Hibernate. Surcharger les colonnes d'objets imbriqués, n'est pas actuellement supporté par les spec EJB3, en revanche, Hibernate Annotations les supporte par les expressions à pointillés."
 
 #. Tag: programlisting
 #: Entity.xml:210
@@ -745,6 +827,18 @@
 "    } )\n"
 "    Address homeAddress;"
 msgstr ""
+"@Embedded\n"
+"    @AttributeOverrides( {\n"
+"            @AttributeOverride(name=\"city\", column = @Column(name="
+"\"fld_city\") )\n"
+"            @AttributeOverride(name=\"<emphasis role=\"bold\">nationality."
+"iso2</emphasis>\", column = @Column(name=\"nat_Iso2\") ),\n"
+"            @AttributeOverride(name=\"<emphasis role=\"bold\">nationality."
+"name</emphasis>\", \n"
+"                 column = @Column(name=\"nat_CountryName\") )\n"
+"            //nationality columns in homeAddress are overridden\n"
+"    } )\n"
+"    Address homeAddress;"
 
 #. Tag: para
 #: Entity.xml:210
@@ -755,7 +849,7 @@
 "the <literal>@MappedSuperclass</literal> annotation to make the superclass "
 "properties persistent (see <literal>@MappedSuperclass</literal> for more "
 "informations)."
-msgstr ""
+msgstr "Hibernate Annotations prend en charge plus d'une fonctionnalité qui n'est pas explicitement supportée par les spécifications EJB3. Vous pouvez annoter un objet imbriqué avec l'annotation <literal>@MappedSuperclass</literal> pour rendre les propriétés de superclasse persistantes (voir <literal>@MappedSUperclass</literal> pour plus d'informations)."
 
 #. Tag: para
 #: Entity.xml:213
@@ -765,7 +859,7 @@
 "you to use association annotations in an embeddable object (ie "
 "<literal>@*ToOne</literal> nor <literal>@*ToMany</literal>). To override the "
 "association columns you can use <literal>@AssociationOverride</literal>."
-msgstr ""
+msgstr "Malgré qu'elles ne soient pas prises en charge par les spécifications EJB3, Hibernate Annotations vous permettent d'utiliser des annotations d'association dans un objet imbriquable (c'est à dire <literal>@*ToOne</literal> ni <literal>@*ToMany</literal>). Pour surcharger les colonnes d'association, vous pouvez utiliser <literal>@AssociationOverride</literal>."
 
 #. Tag: para
 #: Entity.xml:216
@@ -779,25 +873,25 @@
 "<classname>DefaultComponentSafeNamingStrategy</classname> is a small "
 "improvement over the default EJB3NamingStrategy that allows embedded objects "
 "to be defaulted even if used twice in the same entity."
-msgstr ""
+msgstr "Si vous souhaitez avoir le même type d'objet imbriquable deux fois dans la même entité, le système par défaut au niveau des colonnes, ne fonctionnera pas : au des colonnes au moins, devra être explicite. Hibernate va au delà des spec EJB3 et vous permet d'améliorer le mécanisme qui opère par défaut par l'intermédiaire de <classname>NamingStrategy</classname>. <classname>DefaultComponentSafeNamingStrategy</classname> est une petite amélioration par rapport à EJB3NamingStrategy (défaut), et qui permet à des objets imbriqués d'être utilisés par défaut, même s'ils ont été utilisé par deux fois au sein de la même entité."
 
 #. Tag: title
 #: Entity.xml:219
 #, no-c-format
 msgid "Non-annotated property defaults"
-msgstr ""
+msgstr "Valeurs par défaut des propriétés non-annotées"
 
 #. Tag: para
 #: Entity.xml:220
 #, no-c-format
 msgid "If a property is not annotated, the following rules apply:"
-msgstr ""
+msgstr "Si une propriété n'est pas annotée, les règles suivantes s'appliquent :"
 
 #. Tag: para
 #: Entity.xml:225
 #, no-c-format
 msgid "If the property is of a single type, it is mapped as @Basic"
-msgstr ""
+msgstr "Si la propriété est d'un seul type, elle sera mappée en tant que @Basic"
 
 #. Tag: para
 #: Entity.xml:230
@@ -805,7 +899,7 @@
 msgid ""
 "Otherwise, if the type of the property is annotated as @Embeddable, it is "
 "mapped as @Embedded"
-msgstr ""
+msgstr "Sinon, si le type de propriété est annoté en tant que @Embeddable, il sera mappé en tant que @Embedded"
 
 #. Tag: para
 #: Entity.xml:235
@@ -813,7 +907,7 @@
 msgid ""
 "Otherwise, if the type of the property is Serializable, it is mapped as "
 "@Basic in a column holding the object in its serialized version"
-msgstr ""
+msgstr "SInon, si le type de la propriété des Serializable, il est mappé en tant que @Basic dans une colonne qui contient l'objet dans sa version sérialisable."
 
 #. Tag: para
 #: Entity.xml:240
@@ -821,13 +915,13 @@
 msgid ""
 "Otherwise, if the type of the property is java.sql.Clob or java.sql.Blob, it "
 "is mapped as @Lob with the appropriate LobType"
-msgstr ""
+msgstr "Sinon, si le type de propriété est java.sql.Blob, il sera mappé en tant que @Lob avec le LobType qui convient."
 
 #. Tag: title
 #: Entity.xml:245
 #, no-c-format
 msgid "Mapping identifier properties"
-msgstr ""
+msgstr "Les propriétés d'identificateurs de mappage"
 
 #. Tag: para
 #: Entity.xml:246
@@ -839,6 +933,8 @@
 "identifier generation strategy thanks to the <literal>@GeneratedValue</"
 "literal> annotation:"
 msgstr ""
+"L'annotation <literal>@Id</literal> vous laisse définir quelle propriété correspond à l'identificateur de vore bean d'entité. Cette propriété peut être déterminée par une application elle-même, ou bien être générée par Hibernate (préféré). Vous pouvez déterminer la stratégie de génération de l'identificateur grâce à l'annotation <literal>@GeneratedValue</"
+"literal> :"
 
 #. Tag: para
 #: Entity.xml:251
@@ -846,25 +942,25 @@
 msgid ""
 "AUTO - either identity column, sequence or table depending on the underlying "
 "DB"
-msgstr ""
+msgstr "AUTO - soit une colonne d'identité, une séquence ou une table suivant le DB sous-jacent."
 
 #. Tag: para
 #: Entity.xml:256
 #, no-c-format
 msgid "TABLE - table holding the id"
-msgstr ""
+msgstr "TABLE - table contenant l'id"
 
 #. Tag: para
 #: Entity.xml:261
 #, no-c-format
 msgid "IDENTITY - identity column"
-msgstr ""
+msgstr "IDENTITY - colonne d'identité"
 
 #. Tag: para
 #: Entity.xml:266
 #, no-c-format
 msgid "SEQUENCE - sequence"
-msgstr ""
+msgstr "SEQUENCE - sequence"
 
 #. Tag: para
 #: Entity.xml:271
@@ -873,7 +969,7 @@
 "Hibernate provides more id generators than the basic EJB3 ones. Check <xref "
 "linkend=\"Entity_Beans-Hibernate_Annotation_Extensions\"/> for more "
 "informations."
-msgstr ""
+msgstr "Hibernate fournit davanatge de générateurs d'id que ceux des EJB de base. Vérifier <xref linkend=\"Entity_Beans-Hibernate_Annotation_Extensions\"/> pour davantage d'informations."
 
 #. Tag: para
 #: Entity.xml:274
@@ -881,7 +977,7 @@
 msgid ""
 "The following example shows a sequence generator using the SEQ_STORE "
 "configuration (see below)"
-msgstr ""
+msgstr "L'exemple suivant montre un générateur de séquences utilisant la configuration SEQ_STORE (voir ci-dessous)"
 
 #. Tag: programlisting
 #: Entity.xml:277
@@ -891,12 +987,15 @@
 "\")\n"
 "public Integer getId() { ... }"
 msgstr ""
+"@Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator=\"SEQ_STORE"
+"\")\n"
+"public Integer getId() { ... }"
 
 #. Tag: para
 #: Entity.xml:278
 #, no-c-format
 msgid "The next example uses the identity generator:"
-msgstr ""
+msgstr "L'exemple suivant utilise le générateur d'identité :"
 
 #. Tag: programlisting
 #: Entity.xml:281
@@ -905,6 +1004,8 @@
 "@Id @GeneratedValue(strategy=GenerationType.IDENTITY)\n"
 "public Long getId() { ... }"
 msgstr ""
+"@Id @GeneratedValue(strategy=GenerationType.IDENTITY)\n"
+"public Long getId() { ... }"
 
 #. Tag: para
 #: Entity.xml:282
@@ -920,6 +1021,8 @@
 "application level generators. Application level generators are defined at "
 "XML level (see <xref linkend=\"Overriding_metadata_through_XML\"/>):"
 msgstr ""
+"Le générateur <literal>AUTO</literal> est le type préféré pour les applications portables (pour de nombreux distributeurs de DB). La configuration de la génération de l'identificateur peut être partagée par plusieurs mappages <literal>@Id</literal> possédant l'attribut générateur. Il existe plusieurs configurations disponibles dans <literal>@SequenceGenerator</literal> et <literal>@TableGenerator</"
+"literal>. La portée du générateur peut être l'application ou la classe. Les générateurs définis par leur classe ne sont pas visibles en dehors de la classe et peuvent surcharger les générateurs de niveau d'application. Les générateurs de niveau d'application sont définis au niveau XML (voir <xref linkend=\"Overriding_metadata_through_XML\"/>) :"
 
 #. Tag: programlisting
 #: Entity.xml:285
@@ -955,6 +1058,35 @@
 "    allocationSize=20\n"
 ")"
 msgstr ""
+"&lt;table-generator name=\"EMP_GEN\"\n"
+"            table=\"GENERATOR_TABLE\"\n"
+"            pk-column-name=\"key\"\n"
+"            value-column-name=\"hi\"\n"
+"            pk-column-value=\"EMP\"\n"
+"            allocation-size=\"20\"/&gt;\n"
+"\n"
+"//and the annotation equivalent\n"
+"\n"
+"@javax.persistence.TableGenerator(\n"
+"    name=\"EMP_GEN\",\n"
+"    table=\"GENERATOR_TABLE\",\n"
+"    pkColumnName = \"key\",\n"
+"    valueColumnName = \"hi\"\n"
+"    pkColumnValue=\"EMP\",\n"
+"    allocationSize=20\n"
+")\n"
+"\n"
+"&lt;sequence-generator name=\"SEQ_GEN\" \n"
+"    sequence-name=\"my_sequence\"\n"
+"    allocation-size=\"20\"/&gt;\n"
+"\n"
+"//and the annotation equivalent\n"
+"\n"
+"@javax.persistence.SequenceGenerator(\n"
+"    name=\"SEQ_GEN\",\n"
+"    sequenceName=\"my_sequence\",\n"
+"    allocationSize=20\n"
+")"
 
 #. Tag: para
 #: Entity.xml:286
@@ -971,6 +1103,11 @@
 "<literal>valueColumnName</literal> \"<literal>hi</literal>\" contains the "
 "the next high value used."
 msgstr ""
+"Si JPA XML (comme <filename>META-INF/orm.xml</filename>) est utilisé pour définir les générateurs, <literal>EMP_GEN</literal> et <literal>SEQ_GEN</literal> représentent des générateurs au niveau application. <literal>EMP_GEN</literal> définit un générateur d'id basé table, en utilisant un algorithme hilo comprenant un <literal>max_lo</literal> "
+"de 20. La (haute) valeur 'hi' est contenue dans une <literal>table</literal> "
+"\"<literal>GENERATOR_TABLE</literal>\". L'information est gardée dans une rangée dans laquelle la clé <literal>pkColumnName</literal> \"key\" est égale à "
+"<literal>pkColumnValue</literal> \"<literal>EMP</literal>\" et la colonne "
+"<literal>valueColumnName</literal> \"<literal>hi</literal>\" contiennent la prochaine haute valeur utilisée."
 
 #. Tag: para
 #: Entity.xml:289
@@ -983,7 +1120,7 @@
 "generator. The default allocation size is 50, so if you want to use a "
 "sequence and pickup the value each time, you must set the allocation size to "
 "1."
-msgstr ""
+msgstr "<literal>SEQ_GEN</literal> définit un générateur de séquences en utilisant une séquence qui s'intitule <literal>my_sequence</literal>. La taille d'allocation utilisée pour cette séquence basé sur l'algorithme hilo est 20. Notez que cette version d'Hibernate Annotations ne gère pas <literal>initialValue</literal> dans le générateur de séquences. La taille d'allocation par défaut est de 50, donc, si vous souhaitez utiliser une séquence et choisir la valeur à chaque fois, vous devrez paramétrer la taille de l'allocation à 1."
 
 #. Tag: para
 #: Entity.xml:293
@@ -994,6 +1131,9 @@
 "at the package level (see <xref linkend=\"Hibernate_Annotation_Extensions-"
 "Identifier\"/>)."
 msgstr ""
+"La définition du niveau de package n'est plus supportée par la spécification EJB 3.0. Cependant, vous pouvez utiliser <literal>@GenericGenerator</literal> "
+"au niveau package (voir <xref linkend=\"Hibernate_Annotation_Extensions-"
+"Identifier\"/>)."
 
 #. Tag: para
 #: Entity.xml:297
@@ -1001,7 +1141,7 @@
 msgid ""
 "The next example shows the definition of a sequence generator in a class "
 "scope:"
-msgstr ""
+msgstr "Le prochain exemple montre la définition d'un générateur de séquences dans la portée de classe :"
 
 #. Tag: programlisting
 #: Entity.xml:300
@@ -1020,6 +1160,18 @@
 "    public Long getId() { return id; }\n"
 "}"
 msgstr ""
+"@Entity\n"
+"@javax.persistence.SequenceGenerator(\n"
+"    name=\"SEQ_STORE\",\n"
+"    sequenceName=\"my_sequence\"\n"
+")\n"
+"public class Store implements Serializable {\n"
+"    private Long id;\n"
+"\n"
+"    @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="
+"\"SEQ_STORE\")\n"
+"    public Long getId() { return id; }\n"
+"}"
 
 #. Tag: para
 #: Entity.xml:301
@@ -1029,13 +1181,13 @@
 "is not visible in other classes. Note that you can check the Hibernate "
 "Annotations tests in the org.hibernate.test.metadata.id package for more "
 "examples."
-msgstr ""
+msgstr "Cette classe va utiliser une séquence qui s'intitule my_sequence et le générateur SEQ_STORE ne sera pas visible dans les autres classes. Veuillez noter que vous pourrez vérifier les tests d'Hibernate Annotations dans le package org.hibernate.test.metadata.id pour plus d'exemples."
 
 #. Tag: para
 #: Entity.xml:304
 #, no-c-format
 msgid "You can define a composite primary key through several syntaxes:"
-msgstr ""
+msgstr "Vous pouvex définir une clé primaire composite par plusieurs syntaxes :"
 
 #. Tag: para
 #: Entity.xml:309
@@ -1043,13 +1195,13 @@
 msgid ""
 "annotate the component property as @Id and make the component class "
 "@Embeddable"
-msgstr ""
+msgstr "en annotant la propriété de composant avec @ld et en rendant la classe du composant @Embeddable"
 
 #. Tag: para
 #: Entity.xml:314
 #, no-c-format
 msgid "annotate the component property as @EmbeddedId"
-msgstr ""
+msgstr "en annotant la propriété du composant avec @Embeddedld"
 
 #. Tag: para
 #: Entity.xml:319
@@ -1057,7 +1209,7 @@
 msgid ""
 "annotate the class as @IdClass and annotate each property of the entity "
 "involved in the primary key with @Id"
-msgstr ""
+msgstr "en annotant la claase avec @ldClass et en annotant chaque propriété de l'entité impliquée dnas la clé primaire avec @ld"
 
 #. Tag: para
 #: Entity.xml:324
@@ -1069,7 +1221,7 @@
 "primary key fields or properties in the primary key class and those of the "
 "entity class must match and their types must be the same. Let&#39;s look at "
 "an example:"
-msgstr ""
+msgstr "Malgré qu'il soit assez commun pour les développeur EJB2, <literal>@IdClass</literal> est souvent nouveau pour les utilisateur Hibernate. La classe de clé primaire composite correspond à plusieurs champs ou propriétés de la classe de l'entité, et les noms des champs de clés primaires ou les propriétés dans la classe de clé primaire ou ceux de la classe de l'entité doivent correspondre et doivent être du même type. Observons un exemple :"
 
 #. Tag: programlisting
 #: Entity.xml:327
@@ -1129,6 +1281,59 @@
 "    //appropriate equals() and hashCode() implementation\n"
 "}"
 msgstr ""
+"@Entity<emphasis role=\"bold\">@IdClass(FootballerPk.class)</emphasis>\n"
+"public class Footballer {\n"
+"    //part of the id key\n"
+"    <emphasis role=\"bold\">@Id</emphasis> public String getFirstname() {\n"
+"        return firstname;\n"
+"    }\n"
+"\n"
+"    public void setFirstname(String firstname) {\n"
+"        this.firstname = firstname;\n"
+"    }\n"
+"\n"
+"    //part of the id key\n"
+"    <emphasis role=\"bold\">@Id</emphasis> public String getLastname() {\n"
+"        return lastname;\n"
+"    }\n"
+"\n"
+"    public void setLastname(String lastname) {\n"
+"        this.lastname = lastname;\n"
+"    }\n"
+"\n"
+"    public String getClub() {\n"
+"        return club;\n"
+"    }\n"
+"\n"
+"    public void setClub(String club) {\n"
+"        this.club = club;\n"
+"    }\n"
+"\n"
+"    //appropriate equals() and hashCode() implementation\n"
+"}\n"
+"\n"
+"@Embeddable\n"
+"public class FootballerPk implements Serializable {\n"
+"    //same name and type as in Footballer\n"
+"    public String getFirstname() {\n"
+"        return firstname;\n"
+"    }\n"
+"\n"
+"    public void setFirstname(String firstname) {\n"
+"        this.firstname = firstname;\n"
+"    }\n"
+"\n"
+"    //same name and type as in Footballer\n"
+"    public String getLastname() {\n"
+"        return lastname;\n"
+"    }\n"
+"\n"
+"    public void setLastname(String lastname) {\n"
+"        this.lastname = lastname;\n"
+"    }\n"
+"\n"
+"    //appropriate equals() and hashCode() implementation\n"
+"}"
 
 #. Tag: para
 #: Entity.xml:328
@@ -1136,7 +1341,7 @@
 msgid ""
 "As you may have seen, <literal>@IdClass</literal> points to the "
 "corresponding primary key class."
-msgstr ""
+msgstr "Comme vous avez pu voir, <literal>@IdClass</literal> pointe vers la classe de clé primaire correspondante."
 
 #. Tag: para
 #: Entity.xml:331
@@ -1145,7 +1350,7 @@
 "While not supported by the EJB3 specification, Hibernate allows you to "
 "define associations inside a composite identifier. Simply use the regular "
 "annotations for that"
-msgstr ""
+msgstr "Malgré qu'il ne soit pas pris en charge par la spécification EJB3, Hibernate vous permet de définir des associations à l'intérieur d'un identificateur composite. Utiliser tout simplement les annotations habituelles pour cela"
 
 #. Tag: programlisting
 #: Entity.xml:334
@@ -1168,24 +1373,40 @@
 "    public Presenter presenter;\n"
 "}"
 msgstr ""
+"@Entity\n"
+"@AssociationOverride( name=\"id.channel\", joinColumns = @JoinColumn(name="
+"\"chan_id\") )\n"
+"public class TvMagazin {\n"
+"    @EmbeddedId public TvMagazinPk id;\n"
+"    @Temporal(TemporalType.TIME) Date time;\n"
+"}\n"
+"\n"
+"@Embeddable\n"
+"public class TvMagazinPk implements Serializable {\n"
+"    @ManyToOne\n"
+"    public Channel channel;\n"
+"    public String name;\n"
+"    @ManyToOne\n"
+"    public Presenter presenter;\n"
+"}"
 
 #. Tag: title
 #: Entity.xml:335
 #, no-c-format
 msgid "Mapping inheritance"
-msgstr ""
+msgstr "La transmission de données de mappage"
 
 #. Tag: para
 #: Entity.xml:336
 #, no-c-format
 msgid "EJB3 supports the three types of inheritance:"
-msgstr ""
+msgstr "EJB prend en charge trois types de transmission de données :"
 
 #. Tag: para
 #: Entity.xml:341
 #, no-c-format
 msgid "Table per Class Strategy: the &lt;union-class&gt; element in Hibernate"
-msgstr ""
+msgstr "Table par Class Strategy (stratégie de classe) : l'élément &lt;union-class&gt; d'Hibernate"
 
 #. Tag: para
 #: Entity.xml:346
@@ -1193,13 +1414,13 @@
 msgid ""
 "Single Table per Class Hierarchy Strategy: the &lt;subclass&gt; element in "
 "Hibernate"
-msgstr ""
+msgstr "Table simple par Class Hierarchy Strategy: l'élément de &lt;sous-classe&gt; d'Hibernate"
 
 #. Tag: para
 #: Entity.xml:351
 #, no-c-format
 msgid "Joined Subclass Strategy: the &lt;joined-subclass&gt; element in Hibernate"
-msgstr ""
+msgstr "Stratégies de sous-classes jointes : l'élément &lt;joined-subclass&gt; d'Hibernate"
 
 #. Tag: para
 #: Entity.xml:356
@@ -1207,19 +1428,19 @@
 msgid ""
 "The chosen strategy is declared at the class level of the top level entity "
 "in the hierarchy using the <literal>@Inheritance</literal> annotation."
-msgstr ""
+msgstr "La stratégie choisie est déclarée au niveau dela classe de l'entité de niveau supérieur dans la hiérarchie en utilisant l'annotation <literal>@Inheritance</literal>."
 
 #. Tag: para
 #: Entity.xml:360
 #, no-c-format
 msgid "Annotating interfaces is currently not supported."
-msgstr ""
+msgstr "L'annotation des interfaces n'est pas actuellement pris en charge."
 
 #. Tag: title
 #: Entity.xml:364
 #, no-c-format
 msgid "Table per class"
-msgstr ""
+msgstr "Table par classe"
 
 #. Tag: para
 #: Entity.xml:365
@@ -1232,6 +1453,8 @@
 "literal> queries. It is commonly used for the top level of an inheritance "
 "hierarchy:"
 msgstr ""
+"Cette stratégie comporte plusieurs problèmes ( surtout avec les requêtes et les associations polymorphiques) qui sont expliquées dans les spec EJB3, la documentation de référence Hibernate, Hibernate en Action et dans nien d'autre endroits. Hibernate réussit à contourner le problème dans la plupart des cas en implémentant cette stratégie en utilisant les requêtes <literal>SQL UNION</"
+"literal>. C'est normalement utilisé au niveau supérieur d'une hiérarchie d'héritage de transmission :"
 
 #. Tag: programlisting
 #: Entity.xml:368
@@ -1241,6 +1464,9 @@
 "@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)\n"
 "public class Flight implements Serializable {"
 msgstr ""
+"@Entity\n"
+"@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)\n"
+"public class Flight implements Serializable {"
 
 #. Tag: para
 #: Entity.xml:369
@@ -1252,12 +1478,15 @@
 "Consequently, when using this strategy, you should not use <literal>AUTO </"
 "literal>nor <literal>IDENTITY</literal>."
 msgstr ""
+"Cette sratégie supporte les associations one to many, dans la mesure où elles sont bidirectionnelles. Cette stratégie ne supporte pas la stratégie de générateur <literal>IDENTITY</"
+"literal> : l'id doit être partagée parmi plusieurs tables. De ce fait, quand vous utilisez cette stratégie, vous ne devriez pas utiliser <literal>AUTO </"
+"literal>ni <literal>IDENTITY</literal>."
 
 #. Tag: title
 #: Entity.xml:372
 #, no-c-format
 msgid "Single table per class hierarchy"
-msgstr ""
+msgstr "Tables simples par hiérarchie de classe"
 
 #. Tag: para
 #: Entity.xml:373
@@ -1265,7 +1494,7 @@
 msgid ""
 "All properties of all super- and subclasses are mapped into the same table, "
 "instances are distinguished by a special discriminator column:"
-msgstr ""
+msgstr "Toutes les propriétés de tous les super- ou sous-classes sont mappées dans la même table; les instances se distinguent par une colonne de discrimination spéciale :"
 
 #. Tag: programlisting
 #: Entity.xml:376
@@ -1284,6 +1513,18 @@
 "@DiscriminatorValue(\"A320\")\n"
 "public class A320 extends Plane { ... }"
 msgstr ""
+"@Entity\n"
+"@Inheritance(strategy=InheritanceType.SINGLE_TABLE)\n"
+"@DiscriminatorColumn(\n"
+"    name=\"planetype\",\n"
+"    discriminatorType=DiscriminatorType.STRING\n"
+")\n"
+"@DiscriminatorValue(\"Plane\")\n"
+"public class Plane { ... }\n"
+"\n"
+"@Entity\n"
+"@DiscriminatorValue(\"A320\")\n"
+"public class A320 extends Plane { ... }"
 
 #. Tag: para
 #: Entity.xml:377




More information about the jboss-cvs-commits mailing list