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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 4 02:37:20 EDT 2009


Author: croe at redhat.com
Date: 2009-06-04 02:37:20 -0400 (Thu, 04 Jun 2009)
New Revision: 89785

Modified:
   projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po
   projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Entitymanagerapi.po
Log:
translation in progress

Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po	2009-06-04 06:32:58 UTC (rev 89784)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po	2009-06-04 06:37:20 UTC (rev 89785)
@@ -9,7 +9,7 @@
 "Project-Id-Version: Configuration\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-05-29 05:21+0000\n"
-"PO-Revision-Date: 2009-06-03 16:12+1000\n"
+"PO-Revision-Date: 2009-06-04 15:17+1000\n"
 "Last-Translator: Corina Roe <croe at redhat.com>\n"
 "Language-Team: French <i18 at redhat.com>\n"
 "MIME-Version: 1.0\n"
@@ -49,7 +49,7 @@
 #: Configuration.xml:14
 #, no-c-format
 msgid "Configuration and bootstrapping"
-msgstr "Configuration et bootstrapping"
+msgstr "Configuration et initialisation"
 
 #. Tag: title
 #: Configuration.xml:16
@@ -116,6 +116,8 @@
 "Here&#39;s a more complete example of a <filename><literal>persistence.xml</"
 "literal></filename> file"
 msgstr ""
+"Voici un exemple plus complexe d'un fichier <filename><literal>persistence.xml</"
+"literal></filename>."
 
 #. Tag: programlisting
 #: Configuration.xml:24
@@ -144,24 +146,46 @@
 "   &lt;/persistence-unit&gt;\n"
 "&lt;/persistence&gt;"
 msgstr ""
+"&lt;persistence xmlns=\"http://java.sun.com/xml/ns/persistence\"\n"
+"   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"   xsi:schemaLocation=\"http://java.sun.com/xml/ns/persistence\n"
+"   http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd\"\n"
+"   version=\"1.0\"&gt;\n"
+"   &lt;persistence-unit name=\"manager1\" transaction-type=\"JTA\"&gt;\n"
+"      &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/"
+"provider&gt;\n"
+"      &lt;jta-data-source&gt;java:/DefaultDS&lt;/jta-data-source&gt;\n"
+"      &lt;mapping-file&gt;ormap.xml&lt;/mapping-file&gt;\n"
+"      &lt;jar-file&gt;MyApp.jar&lt;/jar-file&gt;\n"
+"      &lt;class&gt;org.acme.Employee&lt;/class&gt;\n"
+"      &lt;class&gt;org.acme.Person&lt;/class&gt;\n"
+"      &lt;class&gt;org.acme.Address&lt;/class&gt;\n"
+"      &lt;properties&gt;\n"
+"         &lt;property name=\"hibernate.dialect\" value=\"org.hibernate."
+"dialect.HSQLDialect\"/&gt;\n"
+"         &lt;property name=\"hibernate.hbm2ddl.auto\" value=\"create-drop\"/"
+"&gt;\n"
+"      &lt;/properties&gt;\n"
+"   &lt;/persistence-unit&gt;\n"
+"&lt;/persistence&gt;"
 
 #. Tag: code
 #: Configuration.xml:27
 #, no-c-format
 msgid "name"
-msgstr ""
+msgstr "nom"
 
 #. Tag: para
 #: Configuration.xml:29
 #, no-c-format
 msgid "(attribute) Every entity manager must have a name."
-msgstr ""
+msgstr "(attribut) Chaque gestionnaire d'entité doit avoir un nom."
 
 #. Tag: code
 #: Configuration.xml:35
 #, no-c-format
 msgid "transaction-type"
-msgstr ""
+msgstr "type-de-transaction"
 
 #. Tag: para
 #: Configuration.xml:37
@@ -171,13 +195,13 @@
 "JTA in a JavaEE environment and to RESOURCE_LOCAL in a JavaSE environment). "
 "When a jta-datasource is used, the default is JTA, if non-jta-datasource is "
 "used, RESOURCE_LOCAL is used."
-msgstr ""
+msgstr "(attribut) Type de transaction utilisé. Soit une JTA ou un RESOURCE_LOCAL (par défaut à JTA dans un environnement JavaEE et à RESOURCE_LOCAL dasn un environnement JavaSE). Quand une jta-datasource est utilisée, la valeur par défaut est JTA, si une datasource est utilisée, RESOURCE_LOCAL est utilisé."
 
 #. Tag: code
 #: Configuration.xml:43
 #, no-c-format
 msgid "provider"
-msgstr ""
+msgstr "fournisseur"
 
 #. Tag: para
 #: Configuration.xml:45
@@ -187,13 +211,13 @@
 "provider. You do not have to define it if you don&#39;t work with several "
 "EJB3 implementations. This is needed when you are using multiple vendor "
 "implementations of EJB Persistence."
-msgstr ""
+msgstr "Le fournisseur est un nom de classe complet du fournisseur de Persistance EJB. Vous n'aurez pas besoin de le définir si vous ne travaillez pas dans plusieurs implementations EJB3. Cela est utilise quand vous utilisez des implémentations de fournisseurs divers de la Persistance EJB."
 
 #. Tag: term
 #: Configuration.xml:51
 #, no-c-format
 msgid "<code>jta-data-source</code>, <code>non-jta-data-source</code>"
-msgstr ""
+msgstr "<code>jta-data-source</code>, <code>non-jta-data-source</code>"
 
 #. Tag: para
 #: Configuration.xml:53
@@ -202,13 +226,13 @@
 "This is the JNDI name of where the javax.sql.DataSource is located. When "
 "running without a JNDI available Datasource, you must specify JDBC "
 "connections with Hibernate specific properties (see below)."
-msgstr ""
+msgstr "Il s'agit du nom JNDI de l'endroit où javax.sql.DataSource est situé. Quand vous exécutez sans une Datasource JNDI disponible, vous devez spécifier les connexions JDBC avec leurs propriétés spécifiques Hibernate (voir ci-dessous)."
 
 #. Tag: code
 #: Configuration.xml:59
 #, no-c-format
 msgid "mapping-file"
-msgstr ""
+msgstr "mapping-file"
 
 #. Tag: para
 #: Configuration.xml:61
@@ -221,13 +245,13 @@
 "file will be loaded too. As a matter of fact, you can provides any XML file "
 "in the mapping file element ie. either hbm files or EJB3 deployment "
 "descriptor."
-msgstr ""
+msgstr "L'élément de classe spécifie un fichier de mappage XML compatible EJB3 que vous allez mapper. Le fichier devra être dans le chemin de classe. Coome pour la spécification EJB3. L'EntityManager d'Hibernate tentera de charger le fichier de mappage situé sur le fichier jar à <literal>META_INF/orm.xml</literal>. Biensûr, tout fichier de mappage explicite sera chargé également. En fait, vous pouvez fournir n'importe quel fichier XML dans l'élément de fichier de mappage, c'est à dire soient des fichiers hbm ou un descripteur de déploiement EJB3."
 
 #. Tag: code
 #: Configuration.xml:67
 #, no-c-format
 msgid "jar-file"
-msgstr ""
+msgstr "jar-file"
 
 #. Tag: para
 #: Configuration.xml:69
@@ -241,7 +265,7 @@
 "point to a directory (This is especially useful when in your test "
 "environment, the persistence.xml file is not under the same root directory "
 "or jar than your domain model)."
-msgstr ""
+msgstr "Les éléments jar-file précisent quel jar analyser. Toutes les classes correctement annotées, les packages annotés et tus les fichiers hbm.xml qui font partie de ce fichier jar seront ajoutés à la configuraiton d'unité de persistance. Cet élément est surtout utilisé dans un environnement Java EE. Son utilisation dans Java SE devrait être considéré comme non protable, dans lequel cas, un url absolu sera requis. Sinon, vous pourrez pointer vers un répertoire (cela est surtout utile quand dans votre environnement de test, le fichier persistence.xml n'est pas sous le même répertoire root ou jar que votre modèle de domaine)."
 
 #. Tag: programlisting
 #: Configuration.xml:72
@@ -250,12 +274,14 @@
 "&lt;jar-file&gt;file:/home/turin/work/local/lab8/build/classes&lt;/jar-"
 "file&gt;"
 msgstr ""
+"&lt;jar-file&gt;file:/home/turin/work/local/lab8/build/classes&lt;/jar-"
+"file&gt;"
 
 #. Tag: code
 #: Configuration.xml:76
 #, no-c-format
 msgid "exclude-unlisted-classes"
-msgstr ""
+msgstr "exclude-unlisted-classes"
 
 #. Tag: para
 #: Configuration.xml:78
@@ -263,13 +289,13 @@
 msgid ""
 "Do not check the main jar file for annotated classes. Only explicit classes "
 "will be part of the persistence unit."
-msgstr ""
+msgstr "Ne pas vérifier les classes annotées dans le fichier jar principal. Seules les classes explicites feront partie de l'unité de persistance."
 
 #. Tag: code
 #: Configuration.xml:84
 #, no-c-format
 msgid "class"
-msgstr ""
+msgstr "class"
 
 #. Tag: para
 #: Configuration.xml:86
@@ -285,12 +311,15 @@
 "package level (ie in <filename>package-info.java</filename>), it will not "
 "include all the classes of a given package."
 msgstr ""
+"L'élément de classe spécifie un nom de classe complet qui vous pourrez mapper. Par défaut, toutes les classes annotées correctement et tous les fichiers hbm.xml que l'on trouve dans l'archive sont ajoutés dans la configuration d'unité de persistance. Vous pouvez ajouter quelques entités externes par l'élément de classe cependant. Comme extension à cette spécification, vous pouvez ajouter un nom de package dans l'élément <literal>&lt;class&gt;</"
+"literal> (comme <code>&lt;class&gt;org.hibernate.eg&lt;/class&gt;</"
+"code>). Attenttion, le package devra inclure les métadonnées définies au niveau du package (c'est à dire dans <filename>package-info.java</filename>), il ne pourra pas inclure toutes les classes d'un package donné."
 
 #. Tag: code
 #: Configuration.xml:92
 #, no-c-format
 msgid "properties"
-msgstr ""
+msgstr "propriétés"
 
 #. Tag: para
 #: Configuration.xml:94
@@ -299,7 +328,7 @@
 "The properties element is used to specify vendor specific properties. This "
 "is where you will define your Hibernate specific configurations. This is "
 "also where you will have to specify JDBC connection information as well."
-msgstr ""
+msgstr "L'élément de propriétés est utilisé pour spécifier les propriétés spécifiques au fournisseur. C'est là où vous allez pouvoir déterminer vos configurations spécifiques Hibernate. C'est également là où vous devrez spécifier les informations de connexion JDBC également."
 
 #. Tag: para
 #: Configuration.xml:100
@@ -311,6 +340,9 @@
 "literal>, Hibernate entityManager will use the version embedded in the "
 "hibernate-entitymanager.jar. No internet access will be processed."
 msgstr ""
+"Veillez à définir la définition de la grammaire de l'élément <literal>persistence</"
+"literal> puisque la spécification EJB3 requiert un schéma de validation. Si le systemld se termine par <literal>persistence_1_0.xsd</"
+"literal>, Hibernate entityManager va utiliser la version qui est intégrée dans hibernate-entitymanager.jar. Aucun accés internet ne sera traité."
 
 #. Tag: programlisting
 #: Configuration.xml:103
@@ -322,12 +354,17 @@
 "   http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd\"\n"
 "   version=\"1.0\"&gt;"
 msgstr ""
+"&lt;persistence xmlns=\"http://java.sun.com/xml/ns/persistence\"\n"
+"   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"   xsi:schemaLocation=\"http://java.sun.com/xml/ns/persistence\n"
+"   http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd\"\n"
+"   version=\"1.0\"&gt;"
 
 #. Tag: title
 #: Configuration.xml:107
 #, no-c-format
 msgid "Bootstrapping"
-msgstr ""
+msgstr "Initialisation"
 
 #. Tag: para
 #: Configuration.xml:108
@@ -338,6 +375,9 @@
 "<classname>EntityManager</classname>. The bootstrap class is "
 "<classname>javax.persistence.Persistence</classname>, e.g."
 msgstr ""
+"La spécification EJB3 détermine la procédure d'initialisation pour accéder au <classname>EntityManagerFactory</classname> et au "
+"<classname>EntityManager</classname>. La classe d'initialisation est "
+"<classname>javax.persistence.Persistence</classname>, par exemple"
 
 #. Tag: programlisting
 #: Configuration.xml:111
@@ -351,6 +391,13 @@
 "EntityManagerFactory programmaticEmf =\n"
 "    Persistence.createEntityManagerFactory(\"manager1\", configOverrides);"
 msgstr ""
+"EntityManagerFactory emf = Persistence.createEntityManagerFactory(\"manager1"
+"\");\n"
+"//or\n"
+"Map configOverrides = new HashMap();\n"
+"configOverrides.put(\"hibernate.hbm2ddl.auto\", \"create-drop\");\n"
+"EntityManagerFactory programmaticEmf =\n"
+"    Persistence.createEntityManagerFactory(\"manager1\", configOverrides);"
 
 #. Tag: para
 #: Configuration.xml:112
@@ -360,13 +407,13 @@
 "version is a set of overrides that will take precedence over any properties "
 "defined in your persistence.xml files. There are a couple of EJB3 properties "
 "usable in the map:"
-msgstr ""
+msgstr "La première version est équivalente à la seconde avec un map vide. La version map est un ensemble de surcharges qui auront prépondérence sur toute propriété déterminée dans vos fichiers persistence.xml. Il y a quelques prorpiétés EJB3 qui sont utilisables dans map :"
 
 #. Tag: para
 #: Configuration.xml:117
 #, no-c-format
 msgid "javax.persistence.provider to define the provider class used"
-msgstr ""
+msgstr "javax.persistence.provider pour définir la classe de fournisseur utilisée"
 
 #. Tag: para
 #: Configuration.xml:122
@@ -375,12 +422,14 @@
 "javax.persistence.transactionType to define the transaction type used "
 "(either JTA or RESOURCE_LOCAL)"
 msgstr ""
+"javax.persistence.transactionType pour définir le type de transaction utilisé "
+"(soit JTA ou RESOURCE_LOCAL)"
 
 #. Tag: para
 #: Configuration.xml:127
 #, no-c-format
 msgid "javax.persistence.jtaDataSource to define the JTA datasource name in JNDI"
-msgstr ""
+msgstr "javax.persistence.jtaDataSource pour définir le nom de la source de données dans JNDI"
 
 #. Tag: para
 #: Configuration.xml:132
@@ -388,7 +437,7 @@
 msgid ""
 "javax.persistence.nonJtaDataSource to define the non JTA datasource name in "
 "JNDI"
-msgstr ""
+msgstr "javax.persistence.nonJtaDataSource pour définir le nom de la source de données non JTA dans JNDI"
 
 #. Tag: para
 #: Configuration.xml:137
@@ -408,6 +457,10 @@
 "correct name are found or if the expected persistence provider is not found, "
 "a <classname>PersistenceException</classname> is raised."
 msgstr ""
+"Quand <code>Persistence.createEntityManagerFactory()</code> est appelé, l'implémentation de persistance va chercher votre chemin de classe pour n'importe quel fichier <code>META-INF/"
+"persistence.xml</code> qui utilise la méthode <code>ClassLoader.getResource(\"META-"
+"INF/persistence.xml\")</code>. En fait, la classe <classname>Persistence</"
+"classname> va chercher tous les fournisseurs de Persistence disponibles dans le chemin de classe et demander à chacun s'ils sont responsables de la création de l'usine de gestionnaire d'entités <literal>manager1</literal>. Pour chaque fournisseur, il va essayer, à partir de la liste de ressources, de trouver un gestionnnaire d'entités qui corresponde au nom que vous aurez déterminé au niveau de la ligne de commande par rapport à ce qui est spécifié dans le fichier persistence.xml (biensûr, le fournisseur <literal>element</literal> devra correspondre au fournisseur persistant courant). Si on ne trouve pas de persistence.xml avec le nom qu'il faut, ou bien si on ne trouve pas le fournisseur de persistance auquel on s'attend, l'exception <classname>PersistenceException</classname> est soulevée."
 
 #. Tag: para
 #: Configuration.xml:140
@@ -419,31 +472,31 @@
 "<code>createEntityManagerFactory()</code>. Please refer to the Hibernate "
 "reference documentation for a complete listing. There are however a couple "
 "of properties available in the EJB3 provider only."
-msgstr ""
+msgstr "Mis à part les paramètres niveau-système d'Hibernate, toutes les propriétés disponibles d'Hibernate peuvent être configurées dans l'élément <code>properties</code> du fichier persistence.xml ou bien sous forme de surcharge du map que vous passez à <code>createEntityManagerFactory()</code>. Veuillez vous reporter à la documentation de référence Hibernate pour un listing complet. Il existe cependant plusieurs propriétés disponibles dans le fournisseur EJB3 spécifiquement."
 
 #. Tag: title
 #: Configuration.xml:144
 #, no-c-format
 msgid "Hibernate Entity Manager specific properties"
-msgstr ""
+msgstr "Propriétés spécifiques au Gestionnaire d'entités d'Hibernate"
 
 #. Tag: entry
 #: Configuration.xml:150
 #, no-c-format
 msgid "Property name"
-msgstr ""
+msgstr "Nom de propriété"
 
 #. Tag: entry
 #: Configuration.xml:153
 #, no-c-format
 msgid "Description"
-msgstr ""
+msgstr "Description"
 
 #. Tag: entry
 #: Configuration.xml:160
 #, no-c-format
 msgid "hibernate.ejb.classcache.&lt;classname&gt;"
-msgstr ""
+msgstr "hibernate.ejb.classcache.&lt;classname&gt;"
 
 #. Tag: entry
 #: Configuration.xml:163
@@ -454,12 +507,15 @@
 "classcache.com.acme.Cat read-write or hibernate.ejb.classcache.com.acme.Cat "
 "read-write, MyRegion)."
 msgstr ""
+"stratégie cache de classe [virgule cache région] de la valeur par défaut de la classe de no cache, et cache de région par défaut de fully.qualified.classname (par ex. hibernate.ejb."
+"classcache.com.acme.Cat read-write ou hibernate.ejb.classcache.com.acme.Cat "
+"read-write, MyRegion)."
 
 #. Tag: entry
 #: Configuration.xml:168
 #, no-c-format
 msgid "hibernate.ejb.collectioncache.&lt;collectionrole&gt;"
-msgstr ""
+msgstr "hibernate.ejb.collectioncache.&lt;collectionrole&gt;"
 
 #. Tag: entry
 #: Configuration.xml:171
@@ -470,12 +526,15 @@
 "hibernate.ejb.classcache.com.acme.Cat read-write or hibernate.ejb.classcache."
 "com.acme.Cat read-write, MyRegion)."
 msgstr ""
+"stratégie cache de collection [virgule cache région] de la valeur par défaut de la classe de no cache, et cache de région par défaut de fully.qualified.classname (par ex. hibernate.ejb."
+"classcache.com.acme.Cat read-write ou hibernate.ejb.classcache.com.acme.Cat "
+"read-write, MyRegion)."
 
 #. Tag: entry
 #: Configuration.xml:176
 #, no-c-format
 msgid "hibernate.ejb.cfgfile"
-msgstr ""
+msgstr "hibernate.ejb.cfgfile"
 
 #. Tag: entry
 #: Configuration.xml:179
@@ -484,12 +543,14 @@
 "XML configuration file to use to configure Hibernate (eg. <filename>/"
 "hibernate.cfg.xml</filename>)."
 msgstr ""
+"fichier de cofiguration XML à utiliser pour configurer Hibernate (par ex. <filename>/"
+"hibernate.cfg.xml</filename>)."
 
 #. Tag: entry
 #: Configuration.xml:184
 #, no-c-format
 msgid "hibernate.archive.autodetection"
-msgstr ""
+msgstr "hibernate.archive.autodetection"
 
 #. Tag: entry
 #: Configuration.xml:187
@@ -497,13 +558,13 @@
 msgid ""
 "Determine which element is auto discovered by Hibernate Entity Manager while "
 "parsing the .par archive. (default to <literal>class,hbm</literal>)."
-msgstr ""
+msgstr "Déterminer quel élément est découvert automatiquement par le Gestionnaire d'entités Hibernate quand il analyse l'archive .par. (valeur par défaut de <literal>class,hbm</literal>)."
 
 #. Tag: entry
 #: Configuration.xml:192
 #, no-c-format
 msgid "hibernate.ejb.interceptor"
-msgstr ""
+msgstr "hibernate.ejb.interceptor"
 
 #. Tag: entry
 #: Configuration.xml:195
@@ -512,13 +573,13 @@
 "An optional Hibernate interceptor. This interceptor has to implement "
 "<classname>org.hibernate.Interceptor</classname> and have a no-arg "
 "constructor."
-msgstr ""
+msgstr "Un intercepteur Hibernate optionnel. Cet intercepteur doit implémenter <classname>org.hibernate.Interceptor</classname> et comporte un constructeur no-arg."
 
 #. Tag: entry
 #: Configuration.xml:200
 #, no-c-format
 msgid "hibernate.ejb.naming_strategy"
-msgstr ""
+msgstr "hibernate.ejb.naming_strategy"
 
 #. Tag: entry
 #: Configuration.xml:203
@@ -527,13 +588,13 @@
 "An optional naming strategy. The default naming strategy used is "
 "<classname>EJB3NamingStrategy</classname>. You also might want to consider "
 "the <classname>DefaultComponentSafeNamingStrategy</classname>."
-msgstr ""
+msgstr "Une stratégie de nommage optionnelle. La stratégie de nommage par défaut utilisée est <classname>EJB3NamingStrategy</classname>. Vous souhaiterez peut-être également considérer <classname>DefaultComponentSafeNamingStrategy</classname>."
 
 #. Tag: entry
 #: Configuration.xml:208
 #, no-c-format
 msgid "hibernate.ejb.event.&lt;eventtype&gt;"
-msgstr ""
+msgstr "hibernate.ejb.event.&lt;eventtype&gt;"
 
 #. Tag: entry
 #: Configuration.xml:211
@@ -543,12 +604,14 @@
 "comma separated fully qualified class name list (eg. hibernate.ejb.event.pre-"
 "load com.acme.SecurityListener, com.acme.AuditListener)"
 msgstr ""
+"Listener d'événement pour un type d'événement donné. La liste de listeners d'événements est constituée d'une liste de noms de classe complets séparés par une virgule (par ex. hibernate.ejb.event.pre-"
+"load com.acme.SecurityListener, com.acme.AuditListener)"
 
 #. Tag: entry
 #: Configuration.xml:216
 #, no-c-format
 msgid "hibernate.ejb.use_class_enhancer"
-msgstr ""
+msgstr "hibernate.ejb.use_class_enhancer"
 
 #. Tag: entry
 #: Configuration.xml:219
@@ -556,13 +619,13 @@
 msgid ""
 "Whether or not use Application server class enhancement at deployment time "
 "(default to false)"
-msgstr ""
+msgstr "Doit-on oui ou non utiliser l'enrichissement de classe de serveur d'Application au moment du déploiement (par défaut ou faux)"
 
 #. Tag: entry
 #: Configuration.xml:224
 #, no-c-format
 msgid "hibernate.ejb.discard_pc_on_close"
-msgstr ""
+msgstr "hibernate.ejb.discard_pc_on_close"
 
 #. Tag: entry
 #: Configuration.xml:227
@@ -573,7 +636,7 @@
 "transaction completion: all objects will remain managed, and any change will "
 "be sy,chronized with the database (default to false, ie wait the transaction "
 "completion)"
-msgstr ""
+msgstr "S vrai, le contexte de persistance sera ignoré (pensez clairement - think clear() - quand la méthode est appelée. Sinon, le contexte de perstance restera vivant jusqu'à la fin de la transaction : tous les objets continueront d'être gérés, et tout changement sera synchronisé à la base de données ( false par défaut, c'est à dire attendre la fin de la transaction)"
 
 #. Tag: para
 #: Configuration.xml:234
@@ -585,6 +648,9 @@
 "xml</filename> will override the one in the defined <filename>hibernate.cfg."
 "xml</filename>."
 msgstr ""
+"Remarquez que vous pouvez mixer la déclaration XML <literal>&lt; class&gt;</literal> et l'utilisation de <literal>hibernate.ejb.cfgfile</literal> dans la même configuration. Tenez compte des conflits possibles. Les propriétés fixées dans <filename>persistence."
+"xml</filename> vont surcharger celles qui sont déterminées dans <filename>hibernate.cfg."
+"xml</filename>."
 
 #. Tag: para
 #: Configuration.xml:238
@@ -597,16 +663,21 @@
 "working in a Java EE environment, you might want to set the "
 "<literal>hibernate.transaction.manager_lookup_class</literal> though."
 msgstr ""
+"Il est important que vous ne surchargiez pas <literal>hibernate.transaction."
+"factory_class</literal>, Hibernate EntityManager détermine automatiquement l'usine de transaction qui convient suivant le type d'EntityManager (c'est à dire "
+"<literal>JTA</literal> versus <literal>RESOURSE_LOCAL</literal>). Si vous travaillez dans un environnement Java EE, vous souhaiterez peut-être configurer "
+"<literal>hibernate.transaction.manager_lookup_class</literal> malgré tout."
 
 #. Tag: para
 #: Configuration.xml:242
 #, no-c-format
 msgid "Here is a typical configuration in a J2SE environment"
-msgstr ""
+msgstr "Voici une configuration typique d'un environnement J2SE"
 
 #. Tag: programlisting
 #: Configuration.xml:245
 #, no-c-format
+#, fuzzy
 msgid ""
 "&lt;persistence&gt;\n"
 "   &lt;persistence-unit name=\"manager1\" transaction-type=\"RESOURCE_LOCAL"
@@ -644,6 +715,31 @@
 "   &lt;/persistence-unit&gt;\n"
 "&lt;/persistence&gt;"
 msgstr ""
+"&lt;&gt;\n"
+"&lt; nom&gt;\n"
+"&lt; class&gt;&lt; class&gt;\n"
+"&lt; class&gt;&lt; class&gt;\n"
+"&lt; class&gt;&lt; class&gt;\n"
+"&lt; propriétés&gt;\n"
+"&lt; property nom&gt;\n"
+"&lt; property nom class&gt;\n"
+"&lt; property nom&gt;\n"
+"&lt; property nom&gt;\n"
+"&lt; property nom&gt;\n"
+"&lt; property nom&gt;\n"
+"\n"
+"&lt;&gt;\n"
+"&lt; property nom\n"
+"&gt;\n"
+"&lt; property nom\n"
+"&gt;\n"
+"&lt;&lt; class&gt;&lt; property&gt;\n"
+"&gt;\n"
+"&lt; property nom\n"
+"&gt;\n"
+"&lt; propriétés&gt;\n"
+"&lt;&gt;\n"
+"&lt;&gt;"
 
 #. Tag: para
 #: Configuration.xml:246
@@ -655,12 +751,15 @@
 "classname>. Refer to the JavaDoc and the Hibernate reference guide for more "
 "detailed informations on how to use it."
 msgstr ""
+"Pour faciliter la configuration programmatique, Hibernate Entity Manager fournit un API propriétaire. Cet API est similaire à l'API <classname>Configuration</"
+"classname> et partage les mêmes concepts : <classname>Ejb3Configuration</"
+"classname>. Reportez-vous au guide de référence Hibernate et JavaDoc pour davantage d'informations sur la façon de l'utiliser."
 
 #. Tag: para
 #: Configuration.xml:249
 #, no-c-format
 msgid "TODO: me more descriptive on some APIs like setDatasource()"
-msgstr ""
+msgstr "TODO: me xxxxx plus descriptif sur certains API comme setDatasource()"
 
 #. Tag: programlisting
 #: Configuration.xml:252
@@ -680,12 +779,25 @@
 "     .addRerousce( \"mypath/orm.xml ) //add an EJB3 deployment descriptor\n"
 "     .buildEntityManagerFactory(); //Create the entity manager factory"
 msgstr ""
+"Ejb3Configuration cfg = new Ejb3Configuration();\n"
+"EntityManagerFactory emf = \n"
+"  cfg.configure(\"/mypath/hibernate.cfg.xml\") //add a regular hibernate.cfg."
+"xml\n"
+"     .addProperties( properties ) //add some properties\n"
+"     .setInterceptor( myInterceptorImpl ) // set an interceptor\n"
+"     .addAnnotatedClass( MyAnnotatedClass.class ) //add a class to be "
+"mapped\n"
+"     .addClass( NonAnnotatedClass.class ) //add an hbm.xml file using the "
+"Hibernate convention\n"
+"     .addRerousce( \"mypath/MyOtherCLass.hbm.xml ) //add an hbm.xml file\n"
+"     .addRerousce( \"mypath/orm.xml ) //add an EJB3 deployment descriptor\n"
+"     .buildEntityManagerFactory(); //Create the entity manager factory"
 
 #. Tag: title
 #: Configuration.xml:258
 #, no-c-format
 msgid "Event listeners"
-msgstr ""
+msgstr "Listeners d'événements"
 
 #. Tag: para
 #: Configuration.xml:259
@@ -696,139 +808,139 @@
 "Hibernate. Be careful when you use the event system yourself, you might "
 "override some of the EJB3 semantics. A safe way is to add your event "
 "listeners to the list given below."
-msgstr ""
+msgstr "Hibernate Entity Manager a besoin d'améliorer Hibernate core pour implémenter toutes les sémantiques EJB3. Il y parvient grâce au système de listener d'événement d'Hibernate. Soyez vigilant quand vous utilisez le système d'événement vous-mêmes. Une façon sûre est d'ajouter vos listeners d'événements dans la liste donnée ci-dessous."
 
 #. Tag: title
 #: Configuration.xml:263
 #, no-c-format
 msgid "Hibernate Entity Manager default event listeners"
-msgstr ""
+msgstr "Listeners d'événements par défaut d'Hibernate Entity Manager"
 
 #. Tag: entry
 #: Configuration.xml:269
 #, no-c-format
 msgid "Event"
-msgstr ""
+msgstr "Evénement"
 
 #. Tag: entry
 #: Configuration.xml:272
 #, no-c-format
 msgid "Listeners"
-msgstr ""
+msgstr "Listeners"
 
 #. Tag: entry
 #: Configuration.xml:279
 #, no-c-format
 msgid "flush"
-msgstr ""
+msgstr "flush"
 
 #. Tag: entry
 #: Configuration.xml:282
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3FlushEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3FlushEventListener"
 
 #. Tag: entry
 #: Configuration.xml:287
 #, no-c-format
 msgid "auto-flush"
-msgstr ""
+msgstr "auto-flush"
 
 #. Tag: entry
 #: Configuration.xml:290
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3AutoFlushEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3AutoFlushEventListener"
 
 #. Tag: entry
 #: Configuration.xml:295
 #, no-c-format
 msgid "delete"
-msgstr ""
+msgstr "supprimer"
 
 #. Tag: entry
 #: Configuration.xml:298
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3DeleteEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3DeleteEventListener"
 
 #. Tag: entry
 #: Configuration.xml:303
 #, no-c-format
 msgid "flush-entity"
-msgstr ""
+msgstr "flush-entity"
 
 #. Tag: entry
 #: Configuration.xml:306
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3FlushEntityEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3FlushEntityEventListener"
 
 #. Tag: entry
 #: Configuration.xml:311
 #, no-c-format
 msgid "merge"
-msgstr ""
+msgstr "fusionner"
 
 #. Tag: entry
 #: Configuration.xml:314
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3MergeEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3MergeEventListener"
 
 #. Tag: entry
 #: Configuration.xml:319
 #, no-c-format
 msgid "create"
-msgstr ""
+msgstr "créer"
 
 #. Tag: entry
 #: Configuration.xml:322
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PersistEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PersistEventListener"
 
 #. Tag: entry
 #: Configuration.xml:327
 #, no-c-format
 msgid "create-onflush"
-msgstr ""
+msgstr "create-onflush"
 
 #. Tag: entry
 #: Configuration.xml:330
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PersistOnFlushEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PersistOnFlushEventListener"
 
 #. Tag: entry
 #: Configuration.xml:335
 #, no-c-format
 msgid "save"
-msgstr ""
+msgstr "sauvegarder"
 
 #. Tag: entry
 #: Configuration.xml:338
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3SaveEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3SaveEventListener"
 
 #. Tag: entry
 #: Configuration.xml:343
 #, no-c-format
 msgid "save-update"
-msgstr ""
+msgstr "save-update (sauvegarde-mise à jour)"
 
 #. Tag: entry
 #: Configuration.xml:346
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3SaveOrUpdateEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3SaveOrUpdateEventListener"
 
 #. Tag: entry
 #: Configuration.xml:351 Configuration.xml:359
 #, no-c-format
 msgid "pre-insert"
-msgstr ""
+msgstr "pre-insert (avant-insertion)"
 
 #. Tag: entry
 #: Configuration.xml:354
@@ -837,6 +949,8 @@
 "org.hibernate.secure.JACCPreInsertEventListener, org.hibernate.validator."
 "event.ValidateEventListener"
 msgstr ""
+"org.hibernate.secure.JACCPreInsertEventListener, org.hibernate.validator."
+"event.ValidateEventListener"
 
 #. Tag: entry
 #: Configuration.xml:362
@@ -845,84 +959,86 @@
 "org.hibernate.secure.JACCPreUpdateEventListener, org.hibernate.validator."
 "event.ValidateEventListener"
 msgstr ""
+"org.hibernate.secure.JACCPreUpdateEventListener, org.hibernate.validator."
+"event.ValidateEventListener"
 
 #. Tag: entry
 #: Configuration.xml:367
 #, no-c-format
 msgid "pre-delete"
-msgstr ""
+msgstr "pre-delete (avant-suppression)"
 
 #. Tag: entry
 #: Configuration.xml:370
 #, no-c-format
 msgid "org.hibernate.secure.JACCPreDeleteEventListener"
-msgstr ""
+msgstr "org.hibernate.secure.JACCPreDeleteEventListener"
 
 #. Tag: entry
 #: Configuration.xml:375
 #, no-c-format
 msgid "pre-load"
-msgstr ""
+msgstr "pre-load (avant-chargement)"
 
 #. Tag: entry
 #: Configuration.xml:378
 #, no-c-format
 msgid "org.hibernate.secure.JACCPreLoadEventListener"
-msgstr ""
+msgstr "org.hibernate.secure.JACCPreLoadEventListener"
 
 #. Tag: entry
 #: Configuration.xml:383
 #, no-c-format
 msgid "post-delete"
-msgstr ""
+msgstr "post-delete (après-supression)"
 
 #. Tag: entry
 #: Configuration.xml:386
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PostDeleteEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PostDeleteEventListener"
 
 #. Tag: entry
 #: Configuration.xml:391
 #, no-c-format
 msgid "post-insert"
-msgstr ""
+msgstr "post-insert (après-suppression)"
 
 #. Tag: entry
 #: Configuration.xml:394
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PostInsertEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PostInsertEventListener"
 
 #. Tag: entry
 #: Configuration.xml:399
 #, no-c-format
 msgid "post-load"
-msgstr ""
+msgstr "post-load (après-chargement)"
 
 #. Tag: entry
 #: Configuration.xml:402
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PostLoadEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PostLoadEventListener"
 
 #. Tag: entry
 #: Configuration.xml:407
 #, no-c-format
 msgid "post-update"
-msgstr ""
+msgstr "post-update (après-mise-à-jour)"
 
 #. Tag: entry
 #: Configuration.xml:410
 #, no-c-format
 msgid "org.hibernate.ejb.event.EJB3PostUpdateEventListener"
-msgstr ""
+msgstr "org.hibernate.ejb.event.EJB3PostUpdateEventListener"
 
 #. Tag: para
 #: Configuration.xml:417
 #, no-c-format
 msgid "Note that the JACC*EventListeners are removed if the security is not enabled."
-msgstr ""
+msgstr "Remarquez que JACC*EventListeners sont retirés si la sécurité n'est pas activée."
 
 #. Tag: para
 #: Configuration.xml:420
@@ -933,12 +1049,16 @@
 "or through the <methodname>ejb3configuration.getEventListeners()</"
 "methodname> API."
 msgstr ""
+"Vous pouvez configurer les listeners d'événement soit par les propriétés (voir "
+"<xref linkend=\"Setup_and_configuration-Configuration_and_bootstrapping\"/>) "
+"ou par l'API <methodname>ejb3configuration.getEventListeners()</"
+"methodname>."
 
 #. Tag: title
 #: Configuration.xml:426
 #, no-c-format
 msgid "Obtaining an EntityManager in a Java SE environment"
-msgstr ""
+msgstr "Obtention d'un EntityManager dans un environnement Java SE."
 
 #. Tag: para
 #: Configuration.xml:427
@@ -950,6 +1070,8 @@
 "<classname>EntityManager</classname>s. The <classname>Persistence</"
 "classname> class is bootstrap class to create an entity manager factory."
 msgstr ""
+"Une usine de gestionnaire d'entités devrait être considérée comme le détenteur d'une configuration qui ne peut pas mute. Elle est déterminée de façon à pointer à une source de données et à mapper un ensemble d'entités bien défini. Il s'agit du point d'entrée pour créer et gérer les <classname>EntityManager</classname>s. La classe <classname>Persistence</"
+"classname> est une classe d'initialisation pour créer une usine de gestionnaires d'entités."
 
 #. Tag: programlisting
 #: Configuration.xml:430
@@ -965,6 +1087,15 @@
 "...\n"
 "emf.close(); //close at application end"
 msgstr ""
+"// Use persistence.xml configuration\n"
+"EntityManagerFactory emf = Persistence.createEntityManagerFactory(\"manager1"
+"\")\n"
+"EntityManager em = emf.createEntityManager(); // Retrieve an application "
+"managed entity manager\n"
+"// Work with the EM\n"
+"em.close();\n"
+"...\n"
+"emf.close(); //close at application end"
 
 #. Tag: para
 #: Configuration.xml:431
@@ -976,7 +1107,7 @@
 "factory is very much like a session factory. Actually, an entity manager "
 "factory is a wrapper on top of a session factory. Calls to the "
 "entityManagerFactory are thread safe."
-msgstr ""
+msgstr "Une usine de gestionnaires d'entités est normalement créée au moment de l'initialisation de l'application et fermée en fin d'application. Sa création est un processus coûteux. Pour ceux qui sont familiers avec Hibernate, une usine de gestionnaires d'entités est un peu comme une usine de sessions. En fait, une usine de gestionnaires d'entités est une encapsulation au dessus d'une usine de session. Les appels à l'entityManagerFactory sont thread safe."
 
 #. Tag: para
 #: Configuration.xml:434
@@ -988,19 +1119,19 @@
 "managed between two transactions (unless you call entityManager.clear() in "
 "between). You can see an entity manager as a small wrapper on top of an "
 "Hibernate session."
-msgstr ""
+msgstr "Grâce à l'EntityManagerFactory, vous pouvez extraire un gestionnaire d'entités prolongées. Le gestionnaire d'entités prolongées conserve le même contexte de persistance pour la durée de vie du gestionnaire d'entités : en d'autres mots, les entités sont encore gérées entre deux transactions (à moins que vous appeliez entityManager.clear() entre deux). Vous pouvez vous imaginer un gestionnaire d'entité comme une petite capsule chapeautant une session Hibernate."
 
 #. Tag: para
 #: Configuration.xml:437
 #, no-c-format
 msgid "TODO explains emf.createEntityManager(Map)"
-msgstr ""
+msgstr "TODO explique emf.createEntityManager(Map)"
 
 #. Tag: title
 #: Configuration.xml:443
 #, no-c-format
 msgid "Various"
-msgstr ""
+msgstr "Divers"
 
 #. Tag: para
 #: Configuration.xml:444
@@ -1011,5 +1142,5 @@
 "use Hibernate Validator annotations in your domain model, there will be no "
 "performance cost. For more information on Hibernate Validator, please refer "
 "to the Hibernate Annotations reference guide."
-msgstr ""
+msgstr "Hibernate Entity Manager est fourni avec Hibernate Validator configuré prêt à l'emploi. Vous n'avez pas besoin de surcharger un événement vous-même. Si vous ne souhaitez pas utiliser les annotations Hibernate Validator dans votre modèle de domaine, il n'y aura pas de coût de performance. Pour plus d'informations sur Hibernate Validator, veuillez vous reporter au guide de référence Hibernate Annotations."
 

Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Entitymanagerapi.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Entitymanagerapi.po	2009-06-04 06:32:58 UTC (rev 89784)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Entitymanagerapi.po	2009-06-04 06:37:20 UTC (rev 89785)
@@ -1,30 +1,33 @@
+# translation of Entitymanagerapi.po to French
 # Language /tmp/mike/JBEAP420/Entity translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Corina Roe <croe at redhat.com>, 2009.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Entitymanagerapi\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-05-29 05:21+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-06-04 16:36+1000\n"
+"Last-Translator: Corina Roe <croe at redhat.com>\n"
+"Language-Team: French <i18 at redhat.com>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Entitymanagerapi.xml:5
 #, no-c-format
 msgid "Working with objects"
-msgstr ""
+msgstr "Travailler avec des objets"
 
 #. Tag: title
 #: Entitymanagerapi.xml:7
 #, no-c-format
 msgid "Entity states"
-msgstr ""
+msgstr "États d'entités"
 
 #. Tag: para
 #: Entitymanagerapi.xml:8
@@ -32,7 +35,7 @@
 msgid ""
 "Like in Hibernate (comparable terms in parantheses), an entity instance is "
 "in one of the following states:"
-msgstr ""
+msgstr "Comme dans Hibernate (termes comparables entre parenthèses), une instance d'entité est dans l'un des états suivants :"
 
 #. Tag: para
 #: Entitymanagerapi.xml:13
@@ -42,7 +45,7 @@
 "new operator, and it is not associated with a persistence context. It has no "
 "persistent representation in the database and no identifier value has been "
 "assigned."
-msgstr ""
+msgstr "New (transient) : une entité est considérée comme nouvelle si elle vient juste d'être instanciée en utilisant le nouvel opérateur, et si elle n'est pas associée à un contexte de persistance. Elle n'a pas de représentation persistante dans la base de données et pas de valeur d'indentifiant lui a été assignée."
 
 #. Tag: para
 #: Entitymanagerapi.xml:18
@@ -50,7 +53,7 @@
 msgid ""
 "Managed (persistent): a managed entity instance is an instance with a "
 "persistent identity that is currently associated with a persistence context."
-msgstr ""
+msgstr "Managed (persistent): une instance d'entités gérées est une instance qui contient une entité persistante qui est actuellement associée à un contexte de persistance."
 
 #. Tag: para
 #: Entitymanagerapi.xml:23
@@ -59,7 +62,7 @@
 "Detached: the entity instance is an instance with a persistent identity that "
 "is no longer associated with a persistence context, usually because the "
 "persistence context was closed or the instance was evicted from the context."
-msgstr ""
+msgstr "Detached : l'instance d'entité est une instance qui contient une identité persistante qui n'est plus associée à un contexte persistant, normalement parce que le contexte de persistance a été fermé ou que l'instance a été rejetée du contexte."
 
 #. Tag: para
 #: Entitymanagerapi.xml:28
@@ -68,7 +71,7 @@
 "Removed: a removed entity instance is an instance with a persistent "
 "identity, associated with a persistence context, but scheduled for removal "
 "from the database."
-msgstr ""
+msgstr "Removed : une instance d'entité retirée est une instance qui contient une identité persistante, associée à un contexte persistant, mais programmé pour pouvoir être retiré de la base de données."
 
 #. Tag: para
 #: Entitymanagerapi.xml:33
@@ -78,13 +81,13 @@
 "of an entity, or in other words, to load and store objects. You will find "
 "persistence with EJB3 easier to understand if you think about object state "
 "management, not managing of SQL statements."
-msgstr ""
+msgstr "L'API <classname>EntityManager</classname> vous permet de changer l'état d'une entité, ou dans d'autres mots, charger ou stocker des objets. Vous trouverez qu'il est plus facile de comprendre la persistance avec EJB3 si vous pensez à la gestion de l'état de l'objet, et non pas à gérer les énoncés SQL. xxxx"
 
 #. Tag: title
 #: Entitymanagerapi.xml:39
 #, no-c-format
 msgid "Making objects persistent"
-msgstr ""
+msgstr "Rendre les objets persistants"
 
 #. Tag: para
 #: Entitymanagerapi.xml:40
@@ -93,7 +96,7 @@
 "Once you&#39;ve created a new entity instance (using the common "
 "<literal>new</literal> operator) it is in <literal>new</literal> state. You "
 "can make it persistent by associating it to an entity manager:"
-msgstr ""
+msgstr "Une fois que vous aurez créé une nouvelle instance d'entité (en utilisant l'opérateur commun <literal>new</literal>), elle sera dans l'état <literal>new</literal>. Vous pourrez la rendre persistante en l'associant au gestionnaire d'entité :"
 
 #. Tag: programlisting
 #: Entitymanagerapi.xml:43
@@ -105,6 +108,11 @@
 "fritz.setName(\"Fritz\");\n"
 "em.persist(fritz);"
 msgstr ""
+"DomesticCat fritz = new DomesticCat();\n"
+"fritz.setColor(Color.GINGER);\n"
+"fritz.setSex(&#39;M&#39;);\n"
+"fritz.setName(\"Fritz\");\n"
+"em.persist(fritz);"
 
 #. Tag: para
 #: Entitymanagerapi.xml:44
@@ -116,12 +124,14 @@
 "application-assigned (usually natural) key value has to be set on the "
 "instance before <code>persist()</code> is called."
 msgstr ""
+"Si le type d'entité <literal>DomesticCat</literal> possède un identifiant généré, la valeur est associée à l'instance quand <code>persist()</"
+"code> est appelé. Si l'identifiant n'est pas généré automatiquement, la valeur de la clé assignée-application (naturelle normalement), devra être fixée sur l'instance avant que <code>persist()</code> ne soit appelé."
 
 #. Tag: title
 #: Entitymanagerapi.xml:50
 #, no-c-format
 msgid "Loading an object"
-msgstr ""
+msgstr "Charger un objet"
 
 #. Tag: para
 #: Entitymanagerapi.xml:51
@@ -129,7 +139,7 @@
 msgid ""
 "Load an entity instance by its identifier value with the entity manager&#39;"
 "s <code>find()</code> method:"
-msgstr ""
+msgstr "Charger une instance d'entité par la valeur de son identifiant par la méthode <code>find()</code> du gestionnaire d'entité :"
 
 #. Tag: programlisting
 #: Entitymanagerapi.xml:54
@@ -141,6 +151,11 @@
 "long catId = 1234;\n"
 "em.find( Cat.class, new Long(catId) );"
 msgstr ""
+"cat = em.find(Cat.class, catId);\n"
+"\n"
+"// You may need to wrap the primitive identifiers\n"
+"long catId = 1234;\n"
+"em.find( Cat.class, new Long(catId) );"
 
 #. Tag: para
 #: Entitymanagerapi.xml:55
@@ -150,7 +165,7 @@
 "having a reference to it (ie a proxy). You can get this reference using the "
 "<literal>getReference()</literal> method. This is especially useful to link "
 "a child to its parent wo having to load the parent."
-msgstr ""
+msgstr "Dans certains cas, vous ne souhaitez pas forcément charger l'état de l'objet, mais juste en obtenir une référence (comme un proxy). Vous pouvez obtenir cette référence en utilisant la méthode <literal>getReference()</literal>. Cela est particulièrement utile pour pouvoir lier un dépendant à son parent sans avoir à charger le parent."
 
 #. Tag: programlisting
 #: Entitymanagerapi.xml:58
@@ -163,6 +178,12 @@
 "child.setParent(parent);\n"
 "em.persist(child);"
 msgstr ""
+"child = new Child();\n"
+"child.SetName(\"Henry\");\n"
+"Parent parent = em.getReference(Parent.class, parentId); //no query to the "
+"DB\n"
+"child.setParent(parent);\n"
+"em.persist(child);"
 
 #. Tag: para
 #: Entitymanagerapi.xml:59
@@ -173,7 +194,7 @@
 "triggers are used to initialize some of the properties of the entity. Note "
 "that only the entity instance and its collections are refreshed unless you "
 "specify <literal>REFRESH</literal> as a cascade style of any associations:"
-msgstr ""
+msgstr "Vous pouvez recharger l'instance d'entité et ses collections à n'importe quel moment en utilisant l'opération <code>em.refresh()</code>."
 
 #. Tag: programlisting
 #: Entitymanagerapi.xml:62
@@ -651,8 +672,7 @@
 #. Tag: para
 #: Entitymanagerapi.xml:238
 #, no-c-format
-msgid ""
-"Please refer to the Hibernate reference documentation for more information."
+msgid "Please refer to the Hibernate reference documentation for more information."
 msgstr ""
 
 #. Tag: title
@@ -801,8 +821,7 @@
 #. Tag: para
 #: Entitymanagerapi.xml:281
 #, no-c-format
-msgid ""
-"Usually <methodname>merge()</methodname> is used in the following scenario:"
+msgid "Usually <methodname>merge()</methodname> is used in the following scenario:"
 msgstr ""
 
 #. Tag: para
@@ -939,8 +958,7 @@
 #. Tag: para
 #: Entitymanagerapi.xml:365
 #, no-c-format
-msgid ""
-"from <methodname>javax.persistence.EntityTransaction.commit()*</methodname>"
+msgid "from <methodname>javax.persistence.EntityTransaction.commit()*</methodname>"
 msgstr ""
 
 #. Tag: para
@@ -1258,3 +1276,4 @@
 "<literal>LockMode.WRITE</literal> prevents dirty-reads and non repeatable "
 "read on a given entity and force an increase of the version number if any."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list