[jboss-cvs] JBossAS SVN: r89710 - 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
Wed Jun 3 02:13:53 EDT 2009
Author: croe at redhat.com
Date: 2009-06-03 02:13:53 -0400 (Wed, 03 Jun 2009)
New Revision: 89710
Modified:
projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Architecture.po
projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Batch.po
projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Book_Info.po
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/Hibernate_Entity_Manager_User_Guide_CP03.po
projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Listeners.po
projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_native.po
Log:
Translation in progress
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Architecture.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Architecture.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Architecture.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,30 +1,33 @@
+# translation of Architecture.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: Architecture\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-02 15:00+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
#: Architecture.xml:5
#, no-c-format
msgid "Architecture"
-msgstr ""
+msgstr "Architecture"
#. Tag: title
#: Architecture.xml:7
#, no-c-format
msgid "Definitions"
-msgstr ""
+msgstr "Définitions"
#. Tag: para
#: Architecture.xml:8
@@ -34,13 +37,13 @@
"in EJB3 containers, as well as for standalone J2SE applications that execute "
"outside of a particular container. The following programming interfaces and "
"artifacts are available in both environments."
-msgstr ""
+msgstr "EJB3 fait partie de la plateforme Java EE 5.0. Dans EJB3, Persistence est disponible dans les conteneurs EJB3, ainsi que pour les applications indépendantes J2SE, qui exécutent en dehors d'un conteneur particulier. Les interfaces de programmation suivantes et les artéfacts sont disponibles dans les deux environnements."
#. Tag: literal
#: Architecture.xml:13
#, no-c-format
msgid "EntityManagerFactory"
-msgstr ""
+msgstr "EntityManagerFactory"
#. Tag: para
#: Architecture.xml:15
@@ -52,13 +55,13 @@
"several entity manager factories to access several data stores. This "
"interface is similar to the <literal>SessionFactory</literal> in native "
"Hibernate."
-msgstr ""
+msgstr "Une usine de gestionnaires d'entités fournit des instances de gestionnaires d'entité, toutes les instances sont configurées pour pouvoir se connecter à la même base de données, et pour utiliser les mêmes paramètres par défaut déterminés par l'implémentation particulière, etc. Vous pouvez préparer plusieurs usines de gestionnaires d'entités pour pouvoir accéder à plusieurs datastores. Cette interface est semblable à <literal>SessionFactory</literal> d'Hibernate native."
#. Tag: literal
#: Architecture.xml:21
#, no-c-format
msgid "EntityManager"
-msgstr ""
+msgstr "EntityManager"
#. Tag: para
#: Architecture.xml:23
@@ -69,13 +72,13 @@
"instances, to find entities by their primary key identity, and to query over "
"all entities. This interface is similar to the <literal>Session</literal> in "
"Hibernate."
-msgstr ""
+msgstr "L'API <literal>EntityManager</literal> est utilisé pour accéder à une base de données dans une unité de travail particulière. Il est utilisé pour créer et pour retirer des instances d'entités persistantes, pour trouver des entités par l'identité de leur clé primaire, et pour effectuer la recherche à travers toutes les entités. Cette interface est semblable à <literal>Session</literal> d'Hibernate."
#. Tag: term
#: Architecture.xml:29
#, no-c-format
msgid "Persistence context"
-msgstr ""
+msgstr "Contexte de Persistence"
#. Tag: para
#: Architecture.xml:31
@@ -86,13 +89,13 @@
"persistence context, the entity instances and their lifecycle is managed by "
"a particular entity manager. The scope of this context can either be the "
"transaction, or an extended unit of work."
-msgstr ""
+msgstr "Un contexte de persistances est un ensemble d'instances d'entités dans lequel, pour chque identité d'entité persistante, il y a une instance d'entité unique. Dans le contexte de persistance, les instances d'entités et leur cycle de vie sont gérés par un gestionnaire d'entités particulier. La portée de ce contexte peut être, soit la transaction, soit l'unité de travail prolongée."
#. Tag: term
#: Architecture.xml:37
#, no-c-format
msgid "Persistence unit"
-msgstr ""
+msgstr "Unité de persistance"
#. Tag: para
#: Architecture.xml:39
@@ -102,67 +105,67 @@
"defined by a persistence unit. A persistence unit defines the set of all "
"classes that are related or grouped by the application, and which must be "
"collocated in their mapping to a single data store."
-msgstr ""
+msgstr "L'ensemble des types d'entités qui peuvent être gérés par un gestionnaire d'entités donné, est défini par l'unité de persistance. Une unité de persistance détermine l'ensemble de toutes les classes qui sont liées ou qui sont groupées par l'application, et qui doivent être co-situées dans leur mappage à un seul datastore."
#. Tag: term
#: Architecture.xml:45
#, no-c-format
msgid "<term>Container-managed entity manager</term>"
-msgstr ""
+msgstr "<term>Container-managed entity manager</term>"
#. Tag: para
#: Architecture.xml:47
#, no-c-format
msgid "An Entity Manager whose lifecycle is managed by the container"
-msgstr ""
+msgstr "Un gestioniaire d'entités dont le cycle de vie est géré par le conteneur"
#. Tag: term
#: Architecture.xml:53
#, no-c-format
msgid "<term>Application-managed entity manager</term>"
-msgstr ""
+msgstr "<term>Application-managed entity manager</term>"
#. Tag: para
#: Architecture.xml:55
#, no-c-format
msgid "An Entity Manager whose lifecycle is managed by the application."
-msgstr ""
+msgstr "Un gestionnaire d'entités sont le cycle de vie est géré par l'application."
#. Tag: term
#: Architecture.xml:61
#, no-c-format
msgid "JTA entity manager"
-msgstr ""
+msgstr "Gestionnaire d'entité JTA"
#. Tag: para
#: Architecture.xml:63
#, no-c-format
msgid "Entity manager involved in a JTA transaction"
-msgstr ""
+msgstr "Le gestionnaire d'entités impliquée dans une transaction JTA."
#. Tag: term
#: Architecture.xml:69
#, no-c-format
msgid "Resource-local entity manager"
-msgstr ""
+msgstr "Gestionnaire d'entités ressource-local."
#. Tag: para
#: Architecture.xml:71
#, no-c-format
msgid "Entity manager using a resource transaction (not a JTA transaction)."
-msgstr ""
+msgstr "Le gestionnaire d'entités utilisant une transaction de ressource (et non par une transaction JTA)."
#. Tag: title
#: Architecture.xml:80
#, no-c-format
msgid "EJB container environment"
-msgstr ""
+msgstr "Environnement de conteneur EJB"
#. Tag: title
#: Architecture.xml:82
#, no-c-format
msgid "<title>Container-managed entity manager</title>"
-msgstr ""
+msgstr "<title>Container-managed entity manager</title>"
#. Tag: para
#: Architecture.xml:83
@@ -175,13 +178,13 @@
"boundaries. A container-managed entity manager is obtained in an application "
"through dependency injection or through JNDI lookup, A container-managed "
"entity manger requires the use of a JTA transaction."
-msgstr ""
+msgstr "Le gestionaire d'entités le plus commun et le plus utilisé généralement dans l'environnement Java EE est le gestionnaire d'entités container-managed (géré-conteneur). Dans ce mode, les conteneur est chargé de l'ouverture et de la fermeture du gestionnaire d'entités (cela est transparent à l'application). Il est également responsable des limites de la transaction. Un gestionnaire d'entités container-managed est obtenu dans une application par injection de dépendance ou par JNDI lookup. Un gestionnaire d'entités container-managed exige l'utilisation d'une transaction JTA."
#. Tag: title
#: Architecture.xml:89
#, no-c-format
msgid "<title>Application-managed entity manager</title>"
-msgstr ""
+msgstr "<title>Application-managed entity manager</title>"
#. Tag: para
#: Architecture.xml:90
@@ -197,13 +200,13 @@
"transaction (i. e. in Hibernate's case a JDBC transaction). The entity "
"manager type (JTA or resource-local) is defined at configuration time, when "
"setting up the entity manager factory."
-msgstr ""
+msgstr "Un gestionnaire d'entités application-managed (géré-application) vous permet de contrôler le gestionnaire d'entités en code d'application. Ce gestionnaire d'entités est extrait par l'API <literal>EntityManagerFactory</literal>. Un gestionnaire d'entités gérées par des applications peut être: soit impliqué dans la transaction JTA courante (comme un gestionnaire d'entités JTA), soit la transaction pourra être contrôlée par l'API <literal>EntityTransaction</literal> (un gestionnaire d'entité ressource-local). La transaction du gestionnaire d'entités ressource-locale mappe vers une transaction de ressource directe (c'est à dire, dans le cas d'Hibernate, vers une transaction JDBC). Le type de gestionnaire d'entités (JTA ou bien ressource-locale) est déterminé au moment de la configuration, quand on configure l'usine de gestionnaires d'entités."
#. Tag: title
#: Architecture.xml:96
#, no-c-format
msgid "Persistence context scope"
-msgstr ""
+msgstr "Portée du contexte de persistances"
#. Tag: para
#: Architecture.xml:97
@@ -213,7 +216,7 @@
"common strategies can be used: binding the persistence context to the "
"transaction boundaries, or keeping the persistence context available across "
"several transactions."
-msgstr ""
+msgstr "Le gestionnaire d'entités est l'API qui agit dans le contexte de persistance. On peut utiliser deux stratégies communes : lier le contexte de persistance au limites de la transaction, ou bien conserver le contexte de persistance qui est disponible pour plusieurs transactions."
#. Tag: para
#: Architecture.xml:100
@@ -231,7 +234,7 @@
"entity manager's persistence context across your EJB method calls, but "
"simply use dependency injection or lookup whenever you need an entity "
"manager."
-msgstr ""
+msgstr "Le cas le plus commun consiste à lier la portée du contexte de persistance à la portée de la transaction courante. Ce n'est faisable que quand les transactions JTA sont utilisées: le contexte de transactions est associé au cycle de vie des transactions JTA. Quand on invoque un gestionnaire de transactions, le contexte de persistance est également ouvert, s'il n'y a pas de contexte de persistance associé à la transaction JTA courante. Sinon le contexte de persistance associé sera utilisé. Le contexte de persistance se termine quand la transaction JTA se termine. Cela signifie que pendant la transaction JTA, une application pourra fonctionner sur les entités gérées du même contexte de persistances. En d'autres mots, vous n'aurez pas à passer le contexte de persistance du gestionaire d'entités à travers vos appels de méthode EJB, mais vous n'aurez qu'à utiliser l'injection de dépendance ou lookup à chaque fois que vous aurez besoin d'un gestionnai!
re d'entités."
#. Tag: para
#: Architecture.xml:103
@@ -258,7 +261,7 @@
"transaction. The transaction typically occurs at the user process end, "
"allowing the whole process to be commited or rollbacked. For application-"
"managed entity manager only support the exctended persistence context."
-msgstr ""
+msgstr "Vous pouvez également utiliser un contexte de persistance prolongé. Cela peut être combiné aux beans de sessions stateful, si vous utilisez un gestionnaire d'entités container-managed : le contexte de persistance est créé quand un gestionnaire d'entités est extrait de l'injection de dépendance ou de lookup JNDI, et qu'il est conservé jusqu'à ce que le conteneur le ferme, après avoir effectué la méthode de beans de sessions stateful <literal>Remove</literal>. Il représente un mécanisme parfait pour implémenter une 'longue' unité de modèle de travail. Ainsi, si vous avez affaire à des cycles d'interactions entre plusieurs utilisateurs c0omme simples unités de travail (par exemple, un wizard dialog qui doit être complètement terminé), normalement, vous le modèlerez comme unité de travail du point de vue de l'utilisateur de l'application, et vous l'implémenterez à l'aide du contexte de persistance prolongé. Veuillez vous reporter au Manuel d!
e référence d'Hibernate ou au livre Hibernate in Action pour trouver davantage d'informations sur ce modèle. JBoss Seam est une structure d'implication qui lie JSF et EJB3 ensemble autour de la notion de conversation et d'unité de travail. Pour un gestionnaire d'entités application-managed, le contexte de persistence est créé quand le gestionnaire d'entités est créé et est conservé jusqu'à ce que le gestionnaire d'entités soit ermé. Dans un contexte de persistance prolongée, toutes les opérations de modifications (persist, merge, remove) qui sont exécutées en dehors de la transaction, sont mis en file d'attente jusqu'à ce que le contexte de persistance soit attaché à une transaction. La transaction a normalement lieu en fin de processus par l'utilisateur, permettant au processus dans son entier, d'être validé ou renvoyé, car le gestionnaire d'entités application-managed ne supporte que le contexte de persistance prolongé."
#. Tag: para
#: Architecture.xml:106
@@ -269,19 +272,20 @@
"managed) has a one-to-one relationship with a persistence context. In other "
"situations <emphasis>persistence context propagation</emphasis> occurs."
msgstr ""
+"Un gestionnaire d'entités ressources-locale ou un gestionnaire d'entités créé par <literal>EntityManagerFactory.createEntityManager()</literal> (application-"
+"managed) possède une relation one-to-one avec un contexte persistant."
#. Tag: title
#: Architecture.xml:112
#, no-c-format
msgid "Persistence context propagation"
-msgstr ""
+msgstr "Propagation de contexte persistant"
#. Tag: para
#: Architecture.xml:113
#, no-c-format
-msgid ""
-"Persistence context propagation occurs for container-managed entity managers."
-msgstr ""
+msgid "Persistence context propagation occurs for container-managed entity managers."
+msgstr "La propagation de contexte persistant opère pour les gestionnaires d'entités container-managed."
#. Tag: para
#: Architecture.xml:116
@@ -293,7 +297,7 @@
"transaction-scoped entity managers retrieved within a given JTA transaction "
"all share the same persistence context. In Hibernate terms, this means all "
"managers share the same session."
-msgstr ""
+msgstr "Dans un gestionnaire d'entités géré par conteneur et transaction-scoped (ce qui représente un cas commun en environnement Java EE), la propagation de transaction JTA est la même que la propagation de ressource de contexte de persistance. En d'autres mots, les gestionnaires d'entités gérés par conteneur et transaction-scoped qui sont extraits d'une transaction JTA donnée, partagent tous le même contexte de persistance. En termes d'Hibernate, cela signifie que tous les gestionnaires partagent la même session."
#. Tag: para
#: Architecture.xml:119
@@ -303,7 +307,7 @@
"transactions or between entity manager that do not came from the same entity "
"manager factory. There are some noteworthy exceptions for context "
"propagation when using extended persistence contexts:"
-msgstr ""
+msgstr "Important : les contextes de persistance ne sont jamais partagés entre les différentes transactions JTA ou entre les gestionnaires d'entités qui ne proviennent pas de la même usine de gestionnaires d'entités. Il y a cependant des exceptions notables quand on utilise des contextes de persistance prolongés."
#. Tag: para
#: Architecture.xml:124
@@ -313,7 +317,7 @@
"with a transaction-scoped persistence context calls a stateful session bean "
"with an extended persistence context in the same JTA transaction, an "
"IllegalStateException is thrown."
-msgstr ""
+msgstr "Si un bean de session stateless, un bean message-driven, ou un bean de session stateful associé à un contexte de persitance transaction-scoped appelle un bean de session stateful associé à un contexte de persistance prolongée dans la même transaction JTA, un IllegalStateException est lancé."
#. Tag: para
#: Architecture.xml:129
@@ -323,7 +327,7 @@
"stateless session bean or a stateful session bean with a transaction-scoped "
"persistence context in the same JTA transaction, the persistence context is "
"propagated."
-msgstr ""
+msgstr "Si un bean de session stateful lié à un contexte de persistance prolongé appelle en tant que bean de session stateless ou bean de session stateful dans un contexte de persistance transaction-scoped dans la même transaction JTA, le contexte de persistance sera propagé."
#. Tag: para
#: Architecture.xml:134
@@ -332,7 +336,7 @@
"If a stateful session bean with an extended persistence context calls a "
"stateless or stateful session bean in a different JTA transaction context, "
"the persistence context is not propagated."
-msgstr ""
+msgstr "Si un bean de session stateful lié à un contexte de persistance prolongée appelle un bean de session stateful ou stateless dans un contexte de transaction JTA différent, le contexte de persistance ne sera pas propagé."
#. Tag: para
#: Architecture.xml:139
@@ -343,7 +347,7 @@
"extended persistence context is inherited by the second stateful session "
"bean. If the second stateful session bean is called with a different "
"transaction context than the first, an IllegalStateException is thrown."
-msgstr ""
+msgstr "Si un bean de session stateful lié à un contexte de persistance prolongé instancie un autre bean de session stateful lié à un contexte de persistance prolongé, le contexte de persistance prolongé sera hérité par le deuxième bean de session stateful. Si le second bean de session stateful est appelé en relation à un contexte de transaction différent du premier, une exception IllegalStateException sera lancée."
#. Tag: para
#: Architecture.xml:144
@@ -352,13 +356,13 @@
"If a stateful session bean with an extended persistence context calls a "
"stateful session bean with a different extended persistence context in the "
"same transaction, an IllegalStateException is thrown."
-msgstr ""
+msgstr "Si un bean de session stateful lié à un contexte de persistance prolongé appelle un bean de session stateful lié à un contexte de persistance prolongé différent dans la même transaction, une exception IllegalStateException sera lancée."
#. Tag: title
#: Architecture.xml:154
#, no-c-format
msgid "Java SE environments"
-msgstr ""
+msgstr "Les environnements Java SE"
#. Tag: para
#: Architecture.xml:155
@@ -371,7 +375,7 @@
"context propagation are not supported in Java SE (you will have to propagate "
"the persistence context yourself, e.g. using the thread local session "
"pattern popular in the Hibernate community)."
-msgstr ""
+msgstr "Dans un environnement Java SE, seuls les gestionnaires d'entités application-managed de cotexte prolongé sont disponibles. Vous pouvez extraire un gestionnaire d'entités en utilisant l'API <literal>EntityManagerFactory</literal>. Seuls les gestionnaires d'entités ressource-local sont disponibles. En d'autres mots, les transactions JTA et la propagation de contexte de persistance ne sontpas pris en charge par Java SE (vous devrez propager le contexte de persistance vous-même, c'est à dire en utilisant le modèle de session de thread local de la communauté Hibernate.)"
#. Tag: para
#: Architecture.xml:158
@@ -382,3 +386,6 @@
"(...)</literal> ) and closed when the entity manager is closed. Many "
"resource-local transaction share the same persistence context, in this case."
msgstr ""
+"Un contexte prolongé signifie que le contexte de persistance est créé quand le gestionnaire d'entités est extrait (en utilisant <literal>EntityManagerFactory.createEntityManager"
+"(...)</literal> ) et sera fermé quand le gestionnaire d'entités sera fermé. Plusieurs transactions ressource-local partagent le mêm contexte de persistance, dans ce cas."
+
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Batch.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Batch.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Batch.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,24 +1,27 @@
+# translation of Batch.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: Batch\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-03 10:08+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
#: Batch.xml:5
#, no-c-format
msgid "Batch processing"
-msgstr ""
+msgstr "Traitement de batch"
#. Tag: para
#: Batch.xml:6
@@ -29,13 +32,13 @@
"state is available in memory. However, Hibernate has some features to "
"optimize batch processing which are discussed in the Hibernate reference "
"guide, however, EJB3 persistence differs slightly."
-msgstr ""
+msgstr "Le traitement de batch a été difficile traditionnellement en mappage total objet/realitonnel. ORM est sur la gestion d'object state, ce qui implique qu'object state est disponible dans la mémoire. Cependant, Hibernate comprend quelques fonctionnalités pour optimiser le traitement de batches qui sont expliquées dans le guide de référence Hibernate, cependant, la persistance EJB3 diffère légèrement."
#. Tag: title
#: Batch.xml:9
#, no-c-format
msgid "Bulk update/delete"
-msgstr ""
+msgstr "Bulk update/delete"
#. Tag: para
#: Batch.xml:10
@@ -50,6 +53,9 @@
"literal> statement execution which are performed through EJB-QL (<xref "
"linkend=\"EJB_QL_The_Object_Query_Language\"/>)."
msgstr ""
+"Comme nous en avons déjà parlé, le mappage object/relationnel transparent et automatique est préoccupé par la gestion de l'object state. Cela implique que l'object state est disponible en mémoire, de qui fait que la mise à jour ou la suppression (en utilisant SQL <literal>UPDATE</literal> et <literal>DELETE</literal>) de données directement dans la base de données n'affectera pas l'état en-mémoire. Cependant, Hibernate fournit des méthodes pour l'exécution d'énoncés de style SQL <literal>UPDATE</literal> and <literal>DELETE</"
+"literal> qui sont exécutés par EJB-QL (<xref "
+"linkend=\"EJB_QL_The_Object_Query_Language\"/>)."
#. Tag: para
#: Batch.xml:13
@@ -59,12 +65,15 @@
"literal> statements is: <literal>( UPDATE | DELETE ) FROM? ClassName (WHERE "
"WHERE_CONDITIONS)?</literal>. Note that:"
msgstr ""
+"La pseudo-syntaxe des énoncés <literal>UPDATE</literal> et <literal>DELETE</"
+"literal> est: <literal>( UPDATE | DELETE ) FROM? ClassName (WHERE "
+"WHERE_CONDITIONS)?</literal>. Notez que :"
#. Tag: para
#: Batch.xml:18
#, no-c-format
msgid "In the from-clause, the FROM keyword is optional."
-msgstr ""
+msgstr "Dans la clause from-clause, the mot FROM est optionnel."
#. Tag: para
#: Batch.xml:23
@@ -73,7 +82,7 @@
"There can only be a single class named in the from-clause, and it "
"<emphasis>cannot</emphasis> have an alias (this is a current Hibernate "
"limitation and will be removed soon)."
-msgstr ""
+msgstr "Il ne peut y avoir qu'une seule classe nommée dans la clause from-clause, et il <emphasis>ne peut pas</emphasis> avoir d'alias (il s'agit d'une limitation Hibernate courante qui sera bientôt retirée)."
#. Tag: para
#: Batch.xml:28
@@ -81,13 +90,13 @@
msgid ""
"No joins (either implicit or explicit) can be specified in a bulk EJB-QL "
"query. Sub-queries may be used in the where-clause."
-msgstr ""
+msgstr "Aucun join (qu'il soit implicite ou explicite) ne peut être spécifié dans une requête en vrac EJB-QL. On peut utiliser des sous-requêtes dans la where-clause."
#. Tag: para
#: Batch.xml:33
#, no-c-format
msgid "The where-clause is also optional."
-msgstr ""
+msgstr "La where-clause est également optionnelle."
#. Tag: para
#: Batch.xml:38
@@ -96,6 +105,8 @@
"As an example, to execute an EJB-QL <literal>UPDATE</literal>, use the "
"<literal>Query.executeUpdate()</literal> method:"
msgstr ""
+"Par exemple, pour exécuter un EJB-QL <literal>UPDATE</literal>, utiliser la méthode "
+"<literal>Query.executeUpdate()</literal> :"
#. Tag: programlisting
#: Batch.xml:41
@@ -113,6 +124,17 @@
"entityManager.getTransaction().commit();\n"
"entityManager.close();"
msgstr ""
+"EntityManager entityManager = entityManagerFactory.createEntityManager();\n"
+"entityManager.getTransaction().begin();\n"
+"\n"
+"String ejbqlUpdate = \"update Customer set name = :newName where name = :"
+"oldName\"\n"
+"int updatedEntities = entityManager.createQuery( hqlUpdate )\n"
+" .setParameter( \"newName\", newName )\n"
+" .setParameter( \"oldName\", oldName )\n"
+" .executeUpdate();\n"
+"entityManager.getTransaction().commit();\n"
+"entityManager.close();"
#. Tag: para
#: Batch.xml:42
@@ -122,6 +144,8 @@
"executeUpdate()</literal> method (the method is named for those familiar "
"with JDBC's <literal>PreparedStatement.executeUpdate()</literal>):"
msgstr ""
+"Pour exécuter un EJB-QL <literal>DELETE</literal>, utiliser la même méthode <literal>Query."
+"executeUpdate()</literal> (la méthode est nommée pour tous ceux qui sont familiers avec JDBC's <literal>PreparedStatement.executeUpdate()</literal>) :"
#. Tag: programlisting
#: Batch.xml:45
@@ -137,6 +161,15 @@
"entityManager.getTransaction().commit();\n"
"entityManager.close();"
msgstr ""
+"EntityManager entityManager = entityManagerFactory.createEntityManager();\n"
+"entityManager.getTransaction().begin();\n"
+"\n"
+"String hqlDelete = \"delete Customer where name = :oldName\";\n"
+"int deletedEntities = entityManager.createQuery( hqlDelete )\n"
+" .setParameter( \"oldName\", oldName )\n"
+" .executeUpdate();\n"
+"entityManager.getTransaction().commit();\n"
+"entityManager.close();"
#. Tag: para
#: Batch.xml:46
@@ -153,3 +186,6 @@
"which that subclass is mapped, but also the \"root\" table and potentially "
"joined-subclass tables further down the inheritence hierarchy."
msgstr ""
+"La valeur <literal>int</literal> qui est retournée par la méthode <literal>Query.executeUpdate"
+"()</literal> indique le nombre d'entités affectées par l'opération. Cela pourrait être en corrélation avec le nombre de rangées affectées dans la base de données. Une opération en vrac EJB-QL pourrait résulter à l'exécution de plusieurs énoncés SQL exécutés, pour les sous-classes jointes, par exemple. Le nombre retourné indique le nombre d'entités affectées par l'énoncé. Pour en revenir à l'exemple des sous-classes jointes, une suppression (delete) apposée à l'une des sous-classes pourrait résulter en suppressions non seulement de la table pour laquelle la sous-classe est mappée, mais également la table \"root\" et potentiellement les tables de sous-classes-jointes plus bas dans la hiérarchie d'héritage."
+
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Book_Info.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Book_Info.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Book_Info.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,31 +1,33 @@
+# translation of Book_Info.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: Book_Info\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-03 10:15+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
#: Book_Info.xml:6
#, no-c-format
msgid "Hibernate Entity Manager User Guide CP03"
-msgstr ""
+msgstr "Hibernate Entity Manager User Guide CP03 (Guide d'utilisation de gestionnaire d'entités Hibernate CP03)"
#. Tag: subtitle
#: Book_Info.xml:7
#, no-c-format
-msgid ""
-"for Use with JBoss Enterprise Application Platform 4.3 Cumulative Patch 3"
-msgstr ""
+msgid "for Use with JBoss Enterprise Application Platform 4.3 Cumulative Patch 3"
+msgstr "à utiliser avec Enterprise Application Platform 4.3 Cumulative Patch 3"
#. Tag: para
#: Book_Info.xml:14
@@ -33,10 +35,11 @@
msgid ""
"The JBoss Enterprise Application Platform Edition of the Hibernate Entity "
"Manager User Guide 3.2"
-msgstr ""
+msgstr "Edition Jboss EAP du Guide d'utilisation de gestionnaire d'entités Hibernate 3.2"
#. Tag: holder
#: Book_Info.xml:25
#, no-c-format
msgid "&HOLDER;"
-msgstr ""
+msgstr "&HOLDER;"
+
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-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,30 +1,33 @@
+# translation of Configuration.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: Configuration\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-03 16:12+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
#: Configuration.xml:5
#, no-c-format
msgid "Setup and configuration"
-msgstr ""
+msgstr "Installation et configuration"
#. Tag: title
#: Configuration.xml:7
#, no-c-format
msgid "Setup"
-msgstr ""
+msgstr "Installation"
#. Tag: para
#: Configuration.xml:8
@@ -38,18 +41,21 @@
"jar, hibernate-annotations.jar, hibernate-entitymanager.jar and all needed "
"third party libraries for each package.(incl. ejb-persistence.jar)."
msgstr ""
+"L'Hibernate EntityManager compatible JPA/EJB 3.0 est construit sur Hibernate core et Hibernate Annotations. Vous devez utiliser des versions compatibles de chaque module. Cette version est connue pour fonctionner sur Hibernate Core 3.2.0.CR5, 3.2.0.GA, 3.2.1.GA et sur Hibernate Annotations 3.2.0.CR3, 3.2.0.GA, "
+"3.2.1.GA. Les bibliothèques suivantes doivent figurer sur votre chemin d'accès de classe : hibernate3."
+"jar, hibernate-annotations.jar, hibernate-entitymanager.jar et toutes les bibliothèques de tierce partie nécessaires pour chque package (y compris ejb.persistence.jar)."
#. Tag: title
#: Configuration.xml:14
#, no-c-format
msgid "Configuration and bootstrapping"
-msgstr ""
+msgstr "Configuration et bootstrapping"
#. Tag: title
#: Configuration.xml:16
#, no-c-format
msgid "Packaging"
-msgstr ""
+msgstr "Packages"
#. Tag: para
#: Configuration.xml:17
@@ -64,6 +70,8 @@
"included in the archive will be added to the persistence unit configuration, "
"so by default, your persistence.xml will be quite minimalist:"
msgstr ""
+"La configuration des gestionnaires d'entités à la fois à l'intérieur d'un serveur d'application et dans une application autonome résident dans une archive de persistance. Une archive de persistance est un fichier JAR qui doit définir un fichier <literal>persistence.xml</literal> qui réside dans le dossier <filename>META-INF</filename>. Toutes les classes annotées correctement dans l'archive (c'est à dire ayant l'annotation <literal>@Entity</"
+"literal>), tous les packages annotés et tous les fichiers Hibernate hbm.xml inclus dans l'archive seront ajoutés à la configuration de l'unité de persistance, ce qui fait que par défaut, votre persistence.xml sera assez minimaliste :"
#. Tag: programlisting
#: Configuration.xml:20
@@ -85,6 +93,21 @@
" </persistence-unit>\n"
"</persistence>"
msgstr ""
+"<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\">\n"
+" <persistence-unit name=\"sample\">\n"
+" <jta-data-source>java:/DefaultDS</jta-data-source>\n"
+" <properties>\n"
+" <property name=\"hibernate.dialect\" value=\"org.hibernate."
+"dialect.HSQLDialect\"/>\n"
+" <property name=\"hibernate.hbm2ddl.auto\" value=\"create-drop\"/"
+">\n"
+" </properties>\n"
+" </persistence-unit>\n"
+"</persistence>"
#. Tag: para
#: Configuration.xml:21
@@ -356,8 +379,7 @@
#. Tag: para
#: Configuration.xml:127
#, no-c-format
-msgid ""
-"javax.persistence.jtaDataSource to define the JTA datasource name in JNDI"
+msgid "javax.persistence.jtaDataSource to define the JTA datasource name in JNDI"
msgstr ""
#. Tag: para
@@ -899,8 +921,7 @@
#. Tag: para
#: Configuration.xml:417
#, no-c-format
-msgid ""
-"Note that the JACC*EventListeners are removed if the security is not enabled."
+msgid "Note that the JACC*EventListeners are removed if the security is not enabled."
msgstr ""
#. Tag: para
@@ -991,3 +1012,4 @@
"performance cost. For more information on Hibernate Validator, please refer "
"to the Hibernate Annotations reference guide."
msgstr ""
+
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Hibernate_Entity_Manager_User_Guide_CP03.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Hibernate_Entity_Manager_User_Guide_CP03.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Hibernate_Entity_Manager_User_Guide_CP03.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,29 +1,32 @@
+# translation of Hibernate_Entity_Manager_User_Guide_CP03.po to French
# Language fr-FR translations for package.
+#
# Automatically generated, 2009.
-#
+# Corina Roe <croe at redhat.com>, 2009.
msgid ""
msgstr ""
-"Project-Id-Version: \n"
+"Project-Id-Version: Hibernate_Entity_Manager_User_Guide_CP03\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-05-29 05:21+0000\n"
-"PO-Revision-Date: 2009-05-29 05:21+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-06-03 12:04+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
#: Hibernate_Entity_Manager_User_Guide_CP03.xml:5
#, no-c-format
msgid "Hibernate Entity Manager"
-msgstr ""
+msgstr "Gestionnaire d'entités Hibernate"
#. Tag: title
#: Hibernate_Entity_Manager_User_Guide_CP03.xml:7
#, no-c-format
msgid "Introducing EJB3 Persistence"
-msgstr ""
+msgstr "Introduire la persistence EJB3"
#. Tag: para
#: Hibernate_Entity_Manager_User_Guide_CP03.xml:8
@@ -43,3 +46,6 @@
"You can at all times fall back to Hibernate native APIs, or if required, "
"even to native JDBC and SQL."
msgstr ""
+"La spécification EJB3 reconnaît l'intérêt et le succès du paradigme de mappage transparent objet/relationel. La spécification EJB3 standardise les API de base et les metadonnées dont on a besoin pour n'importe quel mécanisme de persistance objet/realationnel. <emphasis>Hibernate EntityManager</"
+"emphasis> implémente les interfaces de programmation et les règles de cycle de vie ainsi définies par la spécification de persistance EJB3. Tout comme <emphasis>Hibernate Annotations</emphasis>, cette encapsulation (wrapper) implémente une solution de persistance EJB3 complète ( et autonome) par dessus l'Hibernate core mûr. Vous pouvez utiliser une combinaison des trois ensemble, des annotations sans interfaces de programmation EJB3 et cycles de vie, ou même Hibernate native pur, suivant les besoins commerciaux ou techniques de votre projet. Vous pouvez, à tout moment, retomber sur les API native Hibernate, ou bien, si nécessaire, les JDBC et SQL native."
+
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Listeners.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Listeners.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Listeners.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,30 +1,33 @@
+# translation of Listeners.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: Listeners\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-03 15:59+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
#: Listeners.xml:5
#, no-c-format
msgid "Entity listeners and Callback methods"
-msgstr ""
+msgstr "Listeners d'entités et méthodes de callback"
#. Tag: title
#: Listeners.xml:7
#, no-c-format
msgid "Definition"
-msgstr ""
+msgstr "Définition"
#. Tag: para
#: Listeners.xml:8
@@ -34,7 +37,7 @@
"inside the persistence mechanism. This allows the implementation of certain "
"kinds of generic functionality, and extension of built-in functionality. The "
"EJB3 specification provides two related mechanisms for this purpose."
-msgstr ""
+msgstr "Il est souvent utile que l'application puisse réagir face à certains événements qui ont lieu à l'intérieur du mécanisme de persistance. Cela permet l'implémentation de certaines fonctionnalités génériques, et l'extension de fonctionnalités intégrées. La spécification EJB3 fournit deux mécanismes liées à ce but."
#. Tag: para
#: Listeners.xml:11
@@ -47,7 +50,7 @@
"entity class. An entity listener is a stateless class with a no-arg "
"constructor. An entity listener is defined by annotating the entity class "
"with the <literal>@EntityListeners</literal> annotation:"
-msgstr ""
+msgstr "La méthode d'entités peut être désignée en tant que méthode d'entités pour recevoir une notification de la part d'un événement d'un cycle de vie d'entité particulier. Les méthodes de callback sont annotées par une annotation de callback. Vous pouvez également définir une classe de listener d'entité à utiliser à la place des méthodes callback qui sont définies directement à l'intérieur de la classe d'entité. Un listener d'entités est une classe stateless avec un constructeur no-arg. Un listener d'entités est déterminé par l'annotation de la classe d'entité par <literal>@EntityListeners</literal> :"
#. Tag: programlisting
#: Listeners.xml:14
@@ -94,6 +97,46 @@
" }\n"
"}"
msgstr ""
+"@Entity \n"
+"@EntityListeners(class=Audit.class)\n"
+"public class Cat {\n"
+" @Id private Integer id;\n"
+" private String name;\n"
+" private Calendar dateOfBirth;\n"
+" @Transient private int age;\n"
+" private Date lastUpdate;\n"
+" //getters and setters\n"
+"\n"
+" /**\n"
+" * Set my transient property at load time based on a calculation,\n"
+" * note that a native Hibernate formula mapping is better for this "
+"purpose.\n"
+" */\n"
+" @PostLoad\n"
+" public void calculateAge() {\n"
+" Calendar birth = new GregorianCalendar();\n"
+" birth.setTime(dateOfBirth);\n"
+" Calendar now = new GregorianCalendar();\n"
+" now.setTime( new Date() );\n"
+" int adjust = 0;\n"
+" if ( now.get(Calendar.DAY_OF_YEAR) - birth.get(Calendar.DAY_OF_YEAR) "
+"< 0) {\n"
+" adjust = -1;\n"
+" }\n"
+" age = now.get(Calendar.YEAR) - birth.get(Calendar.YEAR) + adjust;\n"
+" }\n"
+"}\n"
+"\n"
+"public class LastUpdateListener {\n"
+" /**\n"
+" * automatic property set before any database persistence\n"
+" */\n"
+" @PreUpdate\n"
+" @PrePersist\n"
+" public void setLastUpdate(Cat o) {\n"
+" o.setLastUpdate( new Date() );\n"
+" }\n"
+"}"
#. Tag: para
#: Listeners.xml:15
@@ -110,6 +153,8 @@
"Object</literal> type (allowing sharing of listeners accross several "
"entities.)"
msgstr ""
+"La même méthode de callback ou de listener d'entité peut être annotée avec plus d'une annotation de callback. Pour une entité donnée, vous ne pouvez pas avoir deux méthodes qui soient annotées par la même annotation de callback, qu'il s'agisse d'une méthode de callback ou une méthode de listener d'entités. Une méthode de callback est une méthode no-arg sans type de retour et sans nom arbitraire. Un listener d'entités possède la signature <code>void <METHOD>(Object)</code> pour laquelle Objects est du type d'entité (notez que le gestionnaire d'entités Hibernate a relaxé ses contraintes et permet <literal>Object</literal> de type <literal>java.lang."
+"Object</literal> (permettant ainsi le partage des listeners entre plusieurs entités.)"
#. Tag: para
#: Listeners.xml:18
@@ -118,31 +163,31 @@
"A callback method can raise a <classname>RuntimeException</classname>. The "
"current transaction, if any, must be rolled back. The following callbacks "
"are defined:"
-msgstr ""
+msgstr "Une méthode de callback peut soulever une exception <classname>RuntimeException</classname>. La transaction courante, si elle existe, devra être rolled back. Les callbacks suivants sont définis :"
#. Tag: title
#: Listeners.xml:22
#, no-c-format
msgid "Callbacks"
-msgstr ""
+msgstr "Callbacks"
#. Tag: entry
#: Listeners.xml:28
#, no-c-format
msgid "Type"
-msgstr ""
+msgstr "Type"
#. Tag: entry
#: Listeners.xml:31
#, no-c-format
msgid "Description"
-msgstr ""
+msgstr "Description"
#. Tag: entry
#: Listeners.xml:38
#, no-c-format
msgid "@PrePersist"
-msgstr ""
+msgstr "@PrePersist"
#. Tag: entry
#: Listeners.xml:41
@@ -150,13 +195,13 @@
msgid ""
"Executed before the entity manager persist operation is actually executed or "
"cascaded. This call is synchronous with the persist operation."
-msgstr ""
+msgstr "Exécuté avant que l'opération persist du gestionnaire d'entités soit bien exécutée ou cascadée. Cet appel est synchrônisé avec l'opération persist."
#. Tag: entry
#: Listeners.xml:46
#, no-c-format
msgid "@PreRemove"
-msgstr ""
+msgstr "@PreRemove"
#. Tag: entry
#: Listeners.xml:49
@@ -164,13 +209,13 @@
msgid ""
"Executed before the entity manager remove operation is actually executed or "
"cascaded. This call is synchronous with the remove operation."
-msgstr ""
+msgstr "Exécuté avant que l'opération remove du gestionnaire d'entités ne sit exécutée ou cascadée. Cet appel est synchrônisé avec l'opération remove."
#. Tag: entry
#: Listeners.xml:54
#, no-c-format
msgid "@PostPersist"
-msgstr ""
+msgstr "@PostPersist"
#. Tag: entry
#: Listeners.xml:57
@@ -178,13 +223,13 @@
msgid ""
"Executed after the entity manager persist operation is actually executed or "
"cascaded. This call is invoked after the database INSERT is executed."
-msgstr ""
+msgstr "Exécuté après que l'opération persist du gestionnaire d'entités ne soit exécuté ou cascadé. Cet appel est invoqué après que l'INSERT de la base de données ne soit exécuté."
#. Tag: entry
#: Listeners.xml:62
#, no-c-format
msgid "@PostRemove"
-msgstr ""
+msgstr "@PostRemove"
#. Tag: entry
#: Listeners.xml:65
@@ -192,37 +237,37 @@
msgid ""
"Executed after the entity manager remove operation is actually executed or "
"cascaded. This call is synchronous with the remove operation."
-msgstr ""
+msgstr "Exécuté après que l'opération remove du gestionnaire d'entités ne soir exécuté ou cascadé. Cet appel est synchrônisé à l'opération remove,"
#. Tag: entry
#: Listeners.xml:70
#, no-c-format
msgid "@PreUpdate"
-msgstr ""
+msgstr "@PreUpdate"
#. Tag: entry
#: Listeners.xml:73
#, no-c-format
msgid "Executed before the database UPDATE operation."
-msgstr ""
+msgstr "Exécuté avant l'opération UPDATE de la base de données."
#. Tag: entry
#: Listeners.xml:78
#, no-c-format
msgid "@PostUpdate"
-msgstr ""
+msgstr "@PostUpdate"
#. Tag: entry
#: Listeners.xml:81
#, no-c-format
msgid "Executed after the database UPDATE operation."
-msgstr ""
+msgstr "Exécuté après l'opération UPDATE de la base de données."
#. Tag: entry
#: Listeners.xml:86
#, no-c-format
msgid "@PostLoad"
-msgstr ""
+msgstr "@PostLoad"
#. Tag: entry
#: Listeners.xml:89
@@ -230,7 +275,7 @@
msgid ""
"Eexecuted after an entity has been loaded into the current persistence "
"context or an entity has been refreshed."
-msgstr ""
+msgstr "Exécuté après qu'une entité ait été chargée dans le contexte de la persistence courante ou qu'une entité ait été 'rafraichie'."
#. Tag: para
#: Listeners.xml:96
@@ -238,13 +283,13 @@
msgid ""
"A callback method must not invoke <classname>EntityManager</classname> or "
"<classname>Query</classname> methods!"
-msgstr ""
+msgstr "Une méthode callbeack ne doit pas invoquer de méthodes <classname> EntityManager</classname> ou <classname>Query</classname>!"
#. Tag: title
#: Listeners.xml:102
#, no-c-format
msgid "Callbacks and listeners inheritance"
-msgstr ""
+msgstr "Hétitage de listeners et callbacks"
#. Tag: para
#: Listeners.xml:103
@@ -254,13 +299,13 @@
"hierarchy.You can also define several callbacks at different level of the "
"hierarchy. But you cannot define two listeners for the same event in the "
"same entity or the same entity listener."
-msgstr ""
+msgstr "Vous pouvez définir plusieurs listeners d'entités à différents niveaux de la hiérarchie. Vous pouvez également définir plusieurs callbacks at différents niveaux de la hiérarchie. Mais vous ne pouvez pas définir deux listeners pour le même événement dans la même entité ou le même listener d'entité."
#. Tag: para
#: Listeners.xml:106
#, no-c-format
msgid "When an event is raised, the listeners are executed in this order:"
-msgstr ""
+msgstr "Quand un événement est soulevé, les listeners sont exécutés dans cet ordre :"
#. Tag: para
#: Listeners.xml:111
@@ -268,31 +313,31 @@
msgid ""
"<literal>@EntityListeners</literal> for a given entity or superclass in the "
"array order"
-msgstr ""
+msgstr "<literal>@EntityListeners</literal> pour une entité donnée ou pour une superclasse dans l'ordre du tableau."
#. Tag: para
#: Listeners.xml:116
#, no-c-format
msgid "Entity listeners for the superclasses (highest first)"
-msgstr ""
+msgstr "Listeners d'entités pour les superclasses (le plus haute d'abord)"
#. Tag: para
#: Listeners.xml:121
#, no-c-format
msgid "Entity Listeners for the entity"
-msgstr ""
+msgstr "Listeners d'entité pour l'entité"
#. Tag: para
#: Listeners.xml:126
#, no-c-format
msgid "Callbacks of the superclasses (highest first)"
-msgstr ""
+msgstr "Callbacks des superclasses (la plus haute d'abord)"
#. Tag: para
#: Listeners.xml:131
#, no-c-format
msgid "Callbacks of the entity"
-msgstr ""
+msgstr "Callbacks de l'entité"
#. Tag: para
#: Listeners.xml:136
@@ -302,12 +347,14 @@
"<literal>@ExcludeSuperclassListeners</literal>, all superclasses "
"<literal>@EntityListeners</literal> will then be ignored."
msgstr ""
+"Vous pouvez stopper l'héritage des listeners d'entité en utilisant <literal>@ExcludeSuperclassListeners</literal>, toutes les superclasses "
+"<literal>@EntityListeners</literal> seront alors ignorées."
#. Tag: title
#: Listeners.xml:142
#, no-c-format
msgid "XML definition"
-msgstr ""
+msgstr "Définition XML"
#. Tag: para
#: Listeners.xml:143
@@ -316,7 +363,7 @@
"The EJB3 specification allows annotation overriding through EJB3 deployment "
"descriptor. There is also an additional feature that can be useful: default "
"event listeners."
-msgstr ""
+msgstr "La spécification EJB3 permet aux annotations de surcharger par le descripteur de déploiement EJB3. Il existe également une fonctionnalité supplémentaire qui peut être utile : les listeners d'événements par défaut."
#. Tag: programlisting
#: Listeners.xml:146
@@ -353,6 +400,36 @@
" </entity>\n"
"</entity-mappings>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"\n"
+"<entity-mappings xmlns=\"http://java.sun.com/xml/ns/persistence/orm\"\n"
+" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/persistence/"
+"orm orm_1_0.xsd\"\n"
+" version=\"1.0\"\n"
+" >\n"
+" <persistence-unit-metadata>\n"
+" <persistence-unit-defaults>\n"
+" <entity-listeners>\n"
+" <entity-listener class=\"org.hibernate.ejb.test.pack."
+"defaultpar.IncrementListener\">\n"
+" <pre-persist method-name=\"increment\"/>\n"
+" </entity-listener>\n"
+" </entity-listeners>\n"
+" </persistence-unit-defaults>\n"
+" </persistence-unit-metadata>\n"
+" <package>org.hibernate.ejb.test.pack.defaultpar</package>\n"
+" <entity class=\"ApplicationServer\">\n"
+" <entity-listeners>\n"
+" <entity-listener class=\"OtherIncrementListener\">\n"
+" <pre-persist method-name=\"increment\"/>\n"
+" </entity-listener>\n"
+" </entity-listeners>\n"
+"\n"
+"\n"
+" <pre-persist method-name=\"calculate\"/>\n"
+" </entity>\n"
+"</entity-mappings>"
#. Tag: para
#: Listeners.xml:147
@@ -362,7 +439,7 @@
"correspond to a given class and one or several event fire a given method "
"call. You can also define event on the entity itself to describe the "
"callbacks."
-msgstr ""
+msgstr "Vous pouvez surcharger des listeners d'entités sur une entité donnée. Un listener d'entité correspond à une classe donnée et un ou plusieurs événements activent un appel de méthode donné. Vous pouvez également définir un événement sur l'entité elle-même pour décrire les callbacks."
#. Tag: para
#: Listeners.xml:150
@@ -374,3 +451,6 @@
"default listeners, you can use @ExcludeDefaultListeners (or <exclude-"
"default-listeners/>)."
msgstr ""
+"Enfin, mais non sans importance, vous pouvez définir des listeners d'entités par défaut qui s'appliqueront tout d'abord à la pile de liseners d'entités de toutes les entités mappées de l'unité de persistance donnée. Si vosu ne souhaitez pas qu'une entité hérite les listeners par défaut, vous pouvez utiliser @ExcludeDefaultListeners (or <exclude-"
+"default-listeners/>)."
+
Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_native.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_native.po 2009-06-03 05:48:28 UTC (rev 89709)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_native.po 2009-06-03 06:13:53 UTC (rev 89710)
@@ -1,24 +1,27 @@
+# translation of Query_native.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: Query_native\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-03 13: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
#: Query_native.xml:5
#, no-c-format
msgid "Native query"
-msgstr ""
+msgstr "Requête native"
#. Tag: para
#: Query_native.xml:6
@@ -31,13 +34,13 @@
"that Hibernate3 allows you to specify handwritten SQL (including stored "
"procedures) for all create, update, delete, and load operations (please "
"refer to the reference guide for more information.)"
-msgstr ""
+msgstr "Vous pouvez également exprimer des demandes dans le dialecte SQL natif de votre base de données. Cela est utile si vous souhaitez utiliser des fonctionnalités spécifiques à des bases de données comme des astuces de recherche ou l'option CONNECT BY d'Oracle. Cela fournit aussi un chemin de migration clair à partir d'une application basée SQL/JDBC vers Hibernate. Notez qu'Hibernate3 vous permet de spécifier les SQL écrits à la main (y compris les procédures stockées) pour toutes les opérations créer, Mise à jour, suppression et chargement (veuillez vous reporter au guide de références pour davantage d'informations.)"
#. Tag: title
#: Query_native.xml:9
#, no-c-format
msgid "Expressing the resultset"
-msgstr ""
+msgstr "Exprimer le resultset"
#. Tag: para
#: Query_native.xml:10
@@ -49,6 +52,8 @@
"literal> annotation. Each <literal>@SqlResultSetMapping </literal>has a name "
"wich is used when creating a SQL query on <literal>EntityManager</literal>."
msgstr ""
+"Pour utiliser une requête SQL, vous aurez besoin de décrire le resultset SQL. Cette description vous aidera <literal>EntityManager</literal> à mapper vos colonnes en propriétés d'entités. Cela est fait en utilisant l'annotation <literal>@SqlResultSetMapping</"
+"literal>. Chaque <literal>@SqlResultSetMapping </literal> possède un nom qui est utilisé quand on crée une requête SQL dans <literal>EntityManager</literal>."
#. Tag: programlisting
#: Query_native.xml:13
@@ -75,6 +80,26 @@
" entities=@EntityResult(name=\"org.hibernate.test.annotations.query."
"SpaceShip\"))"
msgstr ""
+"@SqlResultSetMapping(name=\"GetNightAndArea\", entities={\n"
+" @EntityResult(name=\"org.hibernate.test.annotations.query.Night\", "
+"fields = {\n"
+" @FieldResult(name=\"id\", column=\"nid\"),\n"
+" @FieldResult(name=\"duration\", column=\"night_duration\"),\n"
+" @FieldResult(name=\"date\", column=\"night_date\"),\n"
+" @FieldResult(name=\"area\", column=\"area_id\")\n"
+" }),\n"
+" @EntityResult(name=\"org.hibernate.test.annotations.query.Area\", fields "
+"= {\n"
+" @FieldResult(name=\"id\", column=\"aid\"),\n"
+" @FieldResult(name=\"name\", column=\"name\")\n"
+" })\n"
+" }\n"
+")\n"
+"\n"
+"//or\n"
+"@SqlResultSetMapping(name=\"defaultSpaceShip\",\n"
+" entities=@EntityResult(name=\"org.hibernate.test.annotations.query."
+"SpaceShip\"))"
#. Tag: para
#: Query_native.xml:14
@@ -82,7 +107,7 @@
msgid ""
"You can also define scalar results and even mix entity results and scalar "
"results"
-msgstr ""
+msgstr "Vous pouvez aussi définir des résultats scalaires ou même mixer des résultats d'entités et des résultats scalaires."
#. Tag: programlisting
#: Query_native.xml:17
@@ -108,6 +133,25 @@
" }\n"
")"
msgstr ""
+"@SqlResultSetMapping(name=\"ScalarAndEntities\", \n"
+" entities={\n"
+" @EntityResult(name=\"org.hibernate.test.annotations.query.Night\", "
+"fields = {\n"
+" @FieldResult(name=\"id\", column=\"nid\"),\n"
+" @FieldResult(name=\"duration\", column=\"night_duration\"),\n"
+" @FieldResult(name=\"date\", column=\"night_date\"),\n"
+" @FieldResult(name=\"area\", column=\"area_id\")\n"
+" }),\n"
+" @EntityResult(name=\"org.hibernate.test.annotations.query.Area\", "
+"fields = {\n"
+" @FieldResult(name=\"id\", column=\"aid\"),\n"
+" @FieldResult(name=\"name\", column=\"name\")\n"
+" })\n"
+" },\n"
+" columns={\n"
+" @ColumnResult(name=\"durationInSec\")\n"
+" }\n"
+")"
#. Tag: para
#: Query_native.xml:18
@@ -115,7 +159,7 @@
msgid ""
"The SQL query will then have to return a column alias "
"<literal>durationInSec</literal>."
-msgstr ""
+msgstr "La requête SQL devra alors retourner une colonne alias <literal>durationInSec</literal>."
#. Tag: para
#: Query_native.xml:21
@@ -123,19 +167,19 @@
msgid ""
"Please refer to the Hibernate Annotations reference guide for more "
"information about <literal>@SqlResultSetMapping.</literal>"
-msgstr ""
+msgstr "Veuillez vous reporter au guide de référence Hibernate Annotations pour davantage d'informations sur <literal>@SqlResultSetMapping.</literal>"
#. Tag: title
#: Query_native.xml:24
#, no-c-format
msgid "Using native SQL Queries"
-msgstr ""
+msgstr "Utiliser des requêtes SQL natives"
#. Tag: para
#: Query_native.xml:25
#, no-c-format
msgid "TODO: This sounds like a dupe..."
-msgstr ""
+msgstr "TODO: This sounds like a dupe... (Cela ressemble à un duplicata...)"
#. Tag: para
#: Query_native.xml:28
@@ -147,7 +191,7 @@
"second one uses the entity default mapping (the column returned has to have "
"the same names as the one used in the mapping). A third one (not yet "
"supported by Hibernate entity manager), returns pure scalar results."
-msgstr ""
+msgstr "Maintenant que l'ensemble des résultat a été décrit, nous sommes en mesure d'exécuter la requête SQL native. <literal>EntityManager</literal> fournit tous les API nécesssaires. La première méthode consiste à utiliser le nom de resultset SQL pour faire la liaison, la seconde méthode consiste à utiliser le mappage par défaut de l'entité (la colonne retournée doit avoir les mêmes noms que celle qui est utilisée dans le mappage). Une troisième (qui n'est pas encore prise en charge par le gestionnaire d'entités Hibernate), retourne des résultats scalaires purs."
#. Tag: programlisting
#: Query_native.xml:31
@@ -162,6 +206,14 @@
"q.setParameter( 1, expectedDuration );\n"
"q.getResultList();"
msgstr ""
+"String sqlQuery = \"select night.id nid, night.night_duration, night."
+"night_date, area.id aid, \"\n"
+" + \"night.area_id, area.name from Night night, Area area where night."
+"area_id = area.id \"\n"
+" + \"and night.night_duration >= ?\";\n"
+"Query q = entityManager.createNativeQuery(sqlQuery, \"GetNightAndArea\");\n"
+"q.setParameter( 1, expectedDuration );\n"
+"q.getResultList();"
#. Tag: para
#: Query_native.xml:32
@@ -169,7 +221,7 @@
msgid ""
"This native query returns nights and area based on the "
"<literal>GetNightAndArea</literal> result set."
-msgstr ""
+msgstr "La requête native retourne des nuits et des régions basées sur l'ensemble de résultats de <literal>GetNightAndArea</literal>."
#. Tag: programlisting
#: Query_native.xml:35
@@ -180,6 +232,10 @@
"q.setParameter( 1, \"Han\" );\n"
"q.getResultList();"
msgstr ""
+"String sqlQuery = \"select * from tbl_spaceship where owner = ?\";\n"
+"Query q = entityManager.createNativeQuery(sqlQuery, SpaceShip.class);\n"
+"q.setParameter( 1, \"Han\" );\n"
+"q.getResultList();"
#. Tag: para
#: Query_native.xml:36
@@ -187,13 +243,13 @@
msgid ""
"The second version is useful when your SQL query returns one entity reusing "
"the same columns as the ones mapped in metadata."
-msgstr ""
+msgstr "La seconde version est utile pour quand votre SQL retourne une entité qui réutilise les mêmes colonnes que celles qui sont mappées dans les metadonnées."
#. Tag: title
#: Query_native.xml:39
#, no-c-format
msgid "Named queries"
-msgstr ""
+msgstr "Requêtes nommées"
#. Tag: para
#: Query_native.xml:40
@@ -202,7 +258,7 @@
"Native named queries share the same calling API than EJB-QL named queries. "
"Your code doesn't need to know the difference between the two. This is "
"very useful for migration from SQL to EJB-QL:"
-msgstr ""
+msgstr "Les requêtes nommées natives partagent la même appelation API que les requêtes nommées EJB-QL. Vore code n'a pas besoin de connaître la différence entre les deux. Cela est très utile pour la migration de SQL à EJB-QL."
#. Tag: programlisting
#: Query_native.xml:43
@@ -212,3 +268,7 @@
"q.setParameter( 1, name );\n"
"Season season = (Season) q.getSingleResult();"
msgstr ""
+"Query q = entityManager.createNamedQuery(\"getSeasonByNativeQuery\");\n"
+"q.setParameter( 1, name );\n"
+"Season season = (Season) q.getSingleResult();"
+
More information about the jboss-cvs-commits
mailing list