[jboss-cvs] JBossAS SVN: r89866 - 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
Fri Jun 5 02:10:39 EDT 2009


Author: croe at redhat.com
Date: 2009-06-05 02:10:32 -0400 (Fri, 05 Jun 2009)
New Revision: 89866

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
   projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_ejbql.po
   projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Transactions.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-05 06:10:16 UTC (rev 89865)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Configuration.po	2009-06-05 06:10:32 UTC (rev 89866)
@@ -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-04 15:17+1000\n"
+"PO-Revision-Date: 2009-06-05 08:27+1000\n"
 "Last-Translator: Corina Roe <croe at redhat.com>\n"
 "Language-Team: French <i18 at redhat.com>\n"
 "MIME-Version: 1.0\n"
@@ -677,7 +677,6 @@
 #. Tag: programlisting
 #: Configuration.xml:245
 #, no-c-format
-#, fuzzy
 msgid ""
 "&lt;persistence&gt;\n"
 "   &lt;persistence-unit name=\"manager1\" transaction-type=\"RESOURCE_LOCAL"
@@ -715,31 +714,41 @@
 "   &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"
+"&lt;persistence&gt;\n"
+"   &lt;persistence-unit name=\"manager1\" transaction-type=\"RESOURCE_LOCAL"
+"\"&gt;\n"
+"      &lt;class&gt;org.hibernate.ejb.test.Cat&lt;/class&gt;\n"
+"      &lt;class&gt;org.hibernate.ejb.test.Distributor&lt;/class&gt;\n"
+"      &lt;class&gt;org.hibernate.ejb.test.Item&lt;/class&gt;\n"
+"      &lt;properties&gt;\n"
+"         &lt;property name=\"hibernate.dialect\" value=\"org.hibernate."
+"dialect.HSQLDialect\"/&gt;\n"
+"         &lt;property name=\"hibernate.connection.driver_class\" value=\"org."
+"hsqldb.jdbcDriver\"/&gt;\n"
+"         &lt;property name=\"hibernate.connection.username\" value=\"sa\"/"
 "&gt;\n"
-"&lt; property nom\n"
+"         &lt;property name=\"hibernate.connection.password\" value=\"\"/"
 "&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;"
+"         &lt;property name=\"hibernate.connection.url\" value=\"jdbc:hsqldb:."
+"\"/&gt;\n"
+"         &lt;property name=\"hibernate.max_fetch_depth\" value=\"3\"/&gt;\n"
+"       \n"
+"         &lt;!-- cache configuration --&gt;\n"
+"         &lt;property name=\"hibernate.ejb.classcache.org.hibernate.ejb.test."
+"Item\"\n"
+"             value=\"read-write\"/&gt;\n"
+"         &lt;property name=\"hibernate.ejb.collectioncache.org.hibernate.ejb."
+"test.Item.distributors\" \n"
+"             value=\"read-write, RegionName\"/&gt;\n"
+"\n"
+"         &lt;!-- alternatively to &lt;class&gt; and &lt;property&gt; "
+"declarations, you can use a regular \n"
+"             hibernate.cfg.xml file --&gt;\n"
+"         &lt;!-- property name=\"hibernate.ejb.cfgfile\" \n"
+"             value=\"/org/hibernate/ejb/test/hibernate.cfg.xml\"/ --&gt;\n"
+"      &lt;/properties&gt;\n"
+"   &lt;/persistence-unit&gt;\n"
+"&lt;/persistence&gt;"
 
 #. Tag: para
 #: Configuration.xml:246

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-05 06:10:16 UTC (rev 89865)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Entitymanagerapi.po	2009-06-05 06:10:32 UTC (rev 89866)
@@ -1,1279 +0,0 @@
-# translation of Entitymanagerapi.po to French
-# Language /tmp/mike/JBEAP420/Entity translations for JBEAP package.
-# Copyright (C) 2007, 2009 Free Software Foundation, Inc.
-#
-# Automatically generated, 2007.
-# Corina Roe <croe at redhat.com>, 2009.
-msgid ""
-msgstr ""
-"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: 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 "Travailler avec des objets"
-
-#. Tag: title
-#: Entitymanagerapi.xml:7
-#, no-c-format
-msgid "Entity states"
-msgstr "États d'entités"
-
-#. Tag: para
-#: Entitymanagerapi.xml:8
-#, no-c-format
-msgid ""
-"Like in Hibernate (comparable terms in parantheses), an entity instance is "
-"in one of the following states:"
-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
-#, no-c-format
-msgid ""
-"New (transient): an entity is new if it has just been instantiated using the "
-"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 "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
-#, no-c-format
-msgid ""
-"Managed (persistent): a managed entity instance is an instance with a "
-"persistent identity that is currently associated with a persistence context."
-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
-#, no-c-format
-msgid ""
-"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 "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
-#, no-c-format
-msgid ""
-"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 "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
-#, no-c-format
-msgid ""
-"The <classname>EntityManager</classname> API allows you to change the state "
-"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 "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 "Rendre les objets persistants"
-
-#. Tag: para
-#: Entitymanagerapi.xml:40
-#, no-c-format
-msgid ""
-"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 "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
-#, no-c-format
-msgid ""
-"DomesticCat fritz = new DomesticCat();\n"
-"fritz.setColor(Color.GINGER);\n"
-"fritz.setSex(&#39;M&#39;);\n"
-"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
-#, no-c-format
-msgid ""
-"If the <literal>DomesticCat</literal> entity type has a generated "
-"identifier, the value is associated to the instance when <code>persist()</"
-"code> is called. If the identifier is not automatically generated, the "
-"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 "Charger un objet"
-
-#. Tag: para
-#: Entitymanagerapi.xml:51
-#, no-c-format
-msgid ""
-"Load an entity instance by its identifier value with the entity manager&#39;"
-"s <code>find()</code> method:"
-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
-#, no-c-format
-msgid ""
-"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) );"
-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
-#, no-c-format
-msgid ""
-"In some cases, you don&#39;t really want to load the object state, but just "
-"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 "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
-#, no-c-format
-msgid ""
-"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);"
-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
-#, no-c-format
-msgid ""
-"You can reload an entity instance and it&#39;s collections at any time using "
-"the <code>em.refresh()</code> operation. This is useful when database "
-"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 "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
-#, no-c-format
-msgid ""
-"em.persist(cat);\n"
-"em.flush(); // force the SQL insert and triggers to run\n"
-"em.refresh(cat); //re-read the state (after the trigger executes)"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:66
-#, no-c-format
-msgid "Querying objects"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:67
-#, no-c-format
-msgid ""
-"If you don&#39;t know the identifier values of the objects you are looking "
-"for, you need a query. The Hibernate EntityManager implementation supports "
-"an easy-to-use but powerful object-oriented query language (EJB3-QL) which "
-"has been inspired by HQL (and vice-versa). Both query languages are portable "
-"across databases, the use entity and property names as identifiers (instead "
-"of table and column names). You may also express your query in the native "
-"SQL of your database, with optional support from EJB3 for result set "
-"conversion into Java business objects."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:71
-#, no-c-format
-msgid "Executing queries"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:72
-#, no-c-format
-msgid ""
-"EJB3QL and SQL queries are represented by an instance of <classname>javax."
-"persistence.Query</classname>. This interface offers methods for parameter "
-"binding, result set handling, and for execution of the query. Queries are "
-"always created using the current entity manager:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:75
-#, no-c-format
-msgid ""
-"List cats = em.createQuery(\n"
-"    \"select cat from Cat as cat where cat.birthdate &lt; ?1\")\n"
-"    .setParameter(1, date, TemporalType.DATE)\n"
-"    .getResultList();\n"
-"\n"
-"List mothers = em.createQuery(\n"
-"    \"select mother from Cat as cat join cat.mother as mother where cat.name "
-"= ?1\")\n"
-"    .setParameter(1, name)\n"
-"    .getResultList();\n"
-"\n"
-"List kittens = em.createQuery(\n"
-"    \"from Cat as cat where cat.mother = ?1\")\n"
-"    .setEntity(1, pk)\n"
-"    .getResultList();\n"
-"\n"
-"Cat mother = (Cat) em.createQuery(\n"
-"    \"select cat.mother from Cat as cat where cat = ?1\")\n"
-"    .setParameter(1, izi)\n"
-"    .getSingleResult();"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:76
-#, no-c-format
-msgid ""
-"A query is usually executed by invoking <methodname>getResultList()</"
-"methodname>. This method loads the resulting instances of the query "
-"completly into memory. Entity instances retrieved by a query are in "
-"persistent state. The <methodname>getSingleResult() </methodname>method "
-"offers a shortcut if you know your query will only return a single object."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:80
-#, no-c-format
-msgid "Projection"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:81
-#, no-c-format
-msgid ""
-"An EJB3QL query queries can return tuples of objects if projection is used. "
-"Each result tuple is returned as an object array:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:84
-#, no-c-format
-msgid ""
-"Iterator kittensAndMothers = sess.createQuery(\n"
-"            \"select kitten, mother from Cat kitten join kitten.mother mother"
-"\")\n"
-"            .getResultList()\n"
-"            .iterator();\n"
-"\n"
-"while ( kittensAndMothers.hasNext() ) {\n"
-"    Object[] tuple = (Object[]) kittensAndMothers.next();\n"
-"    Cat kitten  = tuple[0];\n"
-"    Cat mother  = tuple[1];\n"
-"    ....\n"
-"}"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:88
-#, no-c-format
-msgid "Scalar results"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:89
-#, no-c-format
-msgid ""
-"Queries may specify a particular property of an entity in the select clause, "
-"instead of an entity alias. You may call SQL aggregate functions as well. "
-"Returned non-transactional objects or aggregation results are considered "
-"\"scalar\" results and are not entities in persistent state (in other words, "
-"they are considered \"read only\"):"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:92
-#, no-c-format
-msgid ""
-"Iterator results = em.createQuery(\n"
-"        \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" "
-"+\n"
-"        \"group by cat.color\")\n"
-"        .getResultList()\n"
-"        .iterator();\n"
-"\n"
-"while ( results.hasNext() ) {\n"
-"    Object[] row = results.next();\n"
-"    Color type = (Color) row[0];\n"
-"    Date oldest = (Date) row[1];\n"
-"    Integer count = (Integer) row[2];\n"
-"    .....\n"
-"}"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:96
-#, no-c-format
-msgid "Bind parameters"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:97
-#, no-c-format
-msgid ""
-"Both named and positional query parameters are supported, the "
-"<literal>Query</literal> API offers several methods to bind arguments. The "
-"EJB3 specification numbers positional parameters from one. Named parameters "
-"are identifiers of the form <literal>:paramname</literal> in the query "
-"string. Named parameters should be prefered, they are more robust and easier "
-"to read and understand:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:100
-#, no-c-format
-msgid ""
-"// Named parameter (preferred)\n"
-"Query q = em.createQuery(\"select cat from DomesticCat cat where cat.name = :"
-"name\");\n"
-"q.setParameter(\"name\", \"Fritz\");\n"
-"List cats = q.getResultList();\n"
-"\n"
-"// Positional parameter\n"
-"Query q = em.createQuery(\"select cat from DomesticCat cat where cat.name = ?"
-"1\");\n"
-"q.setParameter(1, \"Izi\");\n"
-"List cats = q.getResultList();\n"
-"\n"
-"// Named parameter list\n"
-"List names = new ArrayList();\n"
-"names.add(\"Izi\");\n"
-"names.add(\"Fritz\");\n"
-"Query q = em.createQuery(\"select cat from DomesticCat cat where cat.name in "
-"(:namesList)\");\n"
-"q.setParameter(\"namesList\", names);\n"
-"List cats = q.list();"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:104
-#, no-c-format
-msgid "Pagination"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:105
-#, no-c-format
-msgid ""
-"If you need to specify bounds upon your result set (the maximum number of "
-"rows you want to retrieve and/or the first row you want to retrieve), use "
-"the following methods:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:108
-#, no-c-format
-msgid ""
-"Query q = em.createQuery(\"select cat from DomesticCat cat\");\n"
-"q.setFirstResult(20);\n"
-"q.setMaxResults(10);\n"
-"List cats = q.getResultList(); //return cats from the 20th position to 29th"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:109
-#, no-c-format
-msgid ""
-"Hibernate knows how to translate this limit query into the native SQL of "
-"your DBMS."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:115
-#, no-c-format
-msgid "Externalizing named queries"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:116
-#, no-c-format
-msgid "You may also define named queries through annotations:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:119
-#, no-c-format
-msgid ""
-"@javax.persistence.NamedQuery(name=\"eg.DomesticCat.by.name.and.minimum."
-"weight\", \n"
-"  query=\"select cat from eg.DomesticCat as cat  where cat.name = ?1 and cat."
-"weight &gt; ?2\")"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:120
-#, no-c-format
-msgid ""
-"Parameters are bound programatically to the named query, before it is "
-"executed:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:123
-#, no-c-format
-msgid ""
-"Query q = em.createNamedQuery(\"eg.DomesticCat.by.name.and.minimum.weight"
-"\");\n"
-"q.setString(1, name);\n"
-"q.setInt(2, minWeight);\n"
-"List cats = q.getResultList();"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:124
-#, no-c-format
-msgid ""
-"Note that the actual program code is independent of the query language that "
-"is used, you may also define native SQL queries in metadata, or use "
-"Hibernate&#39;s native facilities by placing them in XML mapping files."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:130
-#, no-c-format
-msgid "Native queries"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:131
-#, no-c-format
-msgid ""
-"You may express a query in SQL, using <methodname>createNativeQuery()</"
-"methodname> and let Hibernate take care mapping from JDBC result sets to "
-"business objects. Use the <literal>@SqlResultSetMapping</literal> (please "
-"see the Hibernate Annotations reference documentation on how to map a SQL "
-"resultset mapping) or the entity mapping (if the column names of the query "
-"result are the same as the names declared in the entity mapping; remember "
-"that all entity columns have to be returned for this mechanism to work):"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:134
-#, no-c-format
-msgid ""
-"@SqlResultSetMapping(name=\"getItem\", entities = \n"
-"        @EntityResult(entityClass=org.hibernate.ejb.test.Item.class, fields= "
-"{\n"
-"            @FieldResult(name=\"name\", column=\"itemname\"),\n"
-"            @FieldResult(name=\"descr\", column=\"itemdescription\")\n"
-"        })\n"
-")\n"
-"\n"
-"Query q = em.createNativeQuery(\"select name as itemname, descr as "
-"itemdescription from Item\", \n"
-"    \"getItem\");\n"
-"item = (Item) q.getSingleResult(); //from a resultset\n"
-"\n"
-"Query q = em.createNativeQuery(\"select * from Item\", Item.class);\n"
-"item = (Item) q.getSingleResult(); //from a class columns names match the "
-"mapping"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:136
-#, no-c-format
-msgid ""
-"For more information about scalar support in named queries, please refers to "
-"the Hibenate Annotations documentation"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:143
-#, no-c-format
-msgid "Query hints"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:144
-#, no-c-format
-msgid ""
-"Query hints (for performance optimization, usually) are implementation "
-"specific. Hints are declared using the <methodname>query.setHint(String "
-"name, Object value)</methodname> method, or through the <literal>@Named"
-"(Native)Query(hints)</literal> annotation Note that these are not SQL query "
-"hints! The Hibernate EJB3 implementation offers the following query hints:"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:148
-#, no-c-format
-msgid "Hibernate query hints"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:154
-#, no-c-format
-msgid "Hint"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:157
-#, no-c-format
-msgid "Description"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:164
-#, no-c-format
-msgid "org.hibernate.timeout"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:167
-#, no-c-format
-msgid "Query timeout in seconds ( eg. new Integer(10) )"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:172
-#, no-c-format
-msgid "org.hibernate.fetchSize"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:175
-#, no-c-format
-msgid ""
-"Number of rows fetched by the JDBC driver per roundtrip ( eg. new Integer"
-"(50) )"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:180
-#, no-c-format
-msgid "org.hibernate.comment"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:183
-#, no-c-format
-msgid ""
-"Add a comment to the SQL query, useful for the DBA ( e.g. new String(\"fetch "
-"all orders in 1 statement\") )"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:188
-#, no-c-format
-msgid "org.hibernate.cacheable"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:191
-#, no-c-format
-msgid ""
-"Whether or not a query is cacheable ( eg. new Boolean(true) ), defaults to "
-"false"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:196 Entitymanagerapi.xml:228
-#, no-c-format
-msgid "org.hibernate.cacheMode"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:199
-#, no-c-format
-msgid "Override the cache mode for this query ( eg. CacheMode.REFRESH )"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:204
-#, no-c-format
-msgid "org.hibernate.cacheRegion"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:207
-#, no-c-format
-msgid "Cache region of this query ( eg. new String(\"regionName\") )"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:212
-#, no-c-format
-msgid "org.hibernate.readOnly"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:215
-#, no-c-format
-msgid ""
-"Entities retrieved by this query will be loaded in a read-only mode where "
-"Hibernate will never dirty-check them or make changes persistent ( eg. new "
-"Boolean(true) ), default to false"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:220
-#, no-c-format
-msgid "org.hibernate.flushMode"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:223
-#, no-c-format
-msgid "Flush mode used for this query"
-msgstr ""
-
-#. Tag: entry
-#: Entitymanagerapi.xml:231
-#, no-c-format
-msgid "Cache mode used for this query"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:238
-#, no-c-format
-msgid "Please refer to the Hibernate reference documentation for more information."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:248
-#, no-c-format
-msgid "Modifying persistent objects"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:249
-#, no-c-format
-msgid ""
-"Transactional managed instances (ie. objects loaded, saved, created or "
-"queried by the entity manager) may be manipulated by the application and any "
-"changes to persistent state will be persisted when the Entity manager is "
-"flushed (discussed later in this chapter). There is no need to call a "
-"particular method to make your modifications persistent. A straightforward "
-"wayt to update the state of an entity instance is to <methodname>find()</"
-"methodname> it, and then manipulate it directly, while the persistence "
-"context is open:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:252
-#, no-c-format
-msgid ""
-"Cat cat = em.find( Cat.class, new Long(69) );\n"
-"cat.setName(\"PK\");\n"
-"em.flush();  // changes to cat are automatically detected and persisted"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:253
-#, no-c-format
-msgid ""
-"Sometimes this programming model is inefficient since it would require both "
-"an SQL SELECT (to load an object) and an SQL UPDATE (to persist its updated "
-"state) in the same session. Therefore Hibernate offers an alternate "
-"approach, using detached instances."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:259
-#, no-c-format
-msgid "Modifying detached objects"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:260
-#, no-c-format
-msgid ""
-"Many applications need to retrieve an object in one transaction, send it to "
-"the presentation layer for manipulation, and later save the changes in a new "
-"transaction. There can be significant user think and waiting time between "
-"both transactions. Applications that use this kind of approach in a high-"
-"concurrency environment usually use versioned data to ensure isolation for "
-"the \"long\" unit of work."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:263
-#, no-c-format
-msgid ""
-"The EJB3 specifications supports this development model by providing for "
-"persistence of modifications made to detached instances using the "
-"<methodname>EntityManager.merge()</methodname> method:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:266
-#, no-c-format
-msgid ""
-"// in the first entity manager\n"
-"Cat cat = firstEntityManager.find(Cat.class, catId);\n"
-"Cat potentialMate = new Cat();\n"
-"firstEntityManager.persist(potentialMate);\n"
-"\n"
-"// in a higher layer of the application\n"
-"cat.setMate(potentialMate);\n"
-"\n"
-"// later, in a new entity manager\n"
-"secondEntityManager.merge(cat);  // update cat\n"
-"secondEntityManager.merge(mate); // update mate"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:267
-#, no-c-format
-msgid ""
-"The <literal>merge()</literal> method merges modifications made to the "
-"detached instance into the corresponding managed instance, if any, without "
-"consideration of the state of the persistence context. In other words, the "
-"merged objects state overrides the persistent entity state in the "
-"persistence context, if one is already present. The application should "
-"individually <methodname>merge()</methodname> detached instances reachable "
-"from the given detached instance if and only if it wants their state also to "
-"be persistent. This can be cascaded to associated entities and collections, "
-"using transitive persistence, see <xref linkend=\"Working_with_objects-"
-"Transitive_persistence\"/>."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:273
-#, no-c-format
-msgid "Automatic state detection"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:274
-#, no-c-format
-msgid ""
-"The merge operation is clever enough to automatically detect whether the "
-"merging of the detached instance has to result in an insert or update. In "
-"other words, you don&#39;t have to worry about passing a new instance (and "
-"not a detached instance) to <literal>merge()</literal>, the entity manager "
-"will figure this out for you:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:277
-#, no-c-format
-msgid ""
-"// In the first entity manager\n"
-"Cat cat = firstEntityManager.find(Cat.class, catID);\n"
-"\n"
-"// In a higher layer of the application, detached\n"
-"Cat mate = new Cat();\n"
-"cat.setMate(mate);\n"
-"\n"
-"// Later, in a new entity manager\n"
-"secondEntityManager.merge(cat);   // update existing state\n"
-"secondEntityManager.merge(mate);  // save the new instance"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:278
-#, no-c-format
-msgid ""
-"The usage and semantics of <literal>merge()</literal> seems to be confusing "
-"for new users. Firstly, as long as you are not trying to use object state "
-"loaded in one entity manager in another new entity manager, you should not "
-"need to use <methodname>merge()</methodname> at all. Some whole applications "
-"will never use this method."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:281
-#, no-c-format
-msgid "Usually <methodname>merge()</methodname> is used in the following scenario:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:286
-#, no-c-format
-msgid "the application loads an object in the first entity manager"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:291
-#, no-c-format
-msgid "the object is passed up to the presentation layer"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:296
-#, no-c-format
-msgid "some modifications are made to the object"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:301
-#, no-c-format
-msgid "the object is passed back down to the business logic layer"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:306
-#, no-c-format
-msgid ""
-"the application persists these modifications by calling <methodname>merge()</"
-"methodname> in a second entity manager"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:311
-#, no-c-format
-msgid "Here is the exact semantic of <methodname>merge()</methodname>:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:316
-#, no-c-format
-msgid ""
-"if there is a managed instance with the same identifier currently associated "
-"with the persistence context, copy the state of the given object onto the "
-"managed instance"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:321
-#, no-c-format
-msgid ""
-"if there is no managed instance currently associated with the persistence "
-"context, try to load it from the database, or create a new managed instance"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:326
-#, no-c-format
-msgid "the managed instance is returned"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:331
-#, no-c-format
-msgid ""
-"the given instance does not become associated with the persistence context, "
-"it remains detached and is usually discarded"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:337
-#, no-c-format
-msgid "Merging vs. saveOrUpdate/saveOrUpdateCopy"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:338
-#, no-c-format
-msgid ""
-"Merging in EJB3 is similar to the <literal>saveOrUpdateCopy()</literal> "
-"method in native Hibernate. However, it is not the same as the "
-"<literal>saveOrUpdate()</literal> method, the given instance is not "
-"reattached with the persistence context, but a managed instance is returned "
-"by the <methodname>merge()</methodname> method."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:345
-#, no-c-format
-msgid "Deleting managed objects"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:346
-#, no-c-format
-msgid ""
-"<methodname>EntityManager.remove()</methodname> will remove an objects state "
-"from the database. Of course, your application might still hold a reference "
-"to a deleted object. You can think of <methodname>remove()</methodname> as "
-"making a persistent instance new (aka transient) again. It is not detached, "
-"and a merge would result in an insertion."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:352
-#, no-c-format
-msgid "Flush the persistence context"
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:354
-#, no-c-format
-msgid "In a transaction"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:355
-#, no-c-format
-msgid ""
-"From time to time the entity manager will execute the SQL DML statements "
-"needed to synchronize the data store with the state of objects held in "
-"memory. This process, flush, occurs by default (this is Hibernate specific "
-"and not defined by the specification) at the following points:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:360
-#, no-c-format
-msgid "before query execution*"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:365
-#, no-c-format
-msgid "from <methodname>javax.persistence.EntityTransaction.commit()*</methodname>"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:370
-#, no-c-format
-msgid "when <methodname>EntityManager.flush()</methodname> is called*"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:375
-#, no-c-format
-msgid "(*) if a transaction is active"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:378
-#, no-c-format
-msgid "The SQL statements are issued in the following order"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:383
-#, no-c-format
-msgid ""
-"all entity insertions, in the same order the corresponding objects were "
-"saved using <methodname>EntityManager.persist()</methodname>"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:388
-#, no-c-format
-msgid "all entity updates"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:393
-#, no-c-format
-msgid "all collection deletions"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:398
-#, no-c-format
-msgid "all collection element deletions, updates and insertions"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:403
-#, no-c-format
-msgid "all collection insertions"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:408
-#, no-c-format
-msgid ""
-"all entity deletions, in the same order the corresponding objects were "
-"deleted using <methodname>EntityManager.remove()</methodname>"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:413
-#, no-c-format
-msgid ""
-"(Exception: entity instances using application-assigned identifiers are "
-"inserted when they are saved.)"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:416
-#, no-c-format
-msgid ""
-"Except when you explicity <methodname>flush()</methodname>, there are "
-"absolutely no guarantees about when the entity manager executes the JDBC "
-"calls, only the order in which they are executed. However, Hibernate does "
-"guarantee that the <methodname>Query.getResultList()</methodname>/"
-"<methodname>Query.getSingleResult()</methodname> will never return stale "
-"data; nor will they return wrong data if executed in an active transaction."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:419
-#, no-c-format
-msgid ""
-"It is possible to change the default behavior so that flush occurs less "
-"frequently. The <classname>FlushModeType</classname> for an entity manager "
-"defines two different modes: only flush at commit time or flush "
-"automatically using the explained routine unless <methodname>flush()</"
-"methodname> is called explicitly."
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:422
-#, no-c-format
-msgid ""
-"em = emf.createEntityManager();\n"
-"Transaction tx = em.getTransaction().begin();\n"
-"em.setFlushMode(FlushModeType.COMMIT); // allow queries to return stale "
-"state\n"
-"\n"
-"Cat izi = em.find(Cat.class, id);\n"
-"izi.setName(iznizi);\n"
-"\n"
-"// might return stale data\n"
-"em.createQuery(\"from Cat as cat left outer join cat.kittens kitten\")."
-"getResultList();\n"
-"\n"
-"// change to izi is not flushed!\n"
-"...\n"
-"em.getTransaction().commit(); // flush occurs"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:423
-#, no-c-format
-msgid ""
-"During flush, an exception might happen (e.g. if a DML operation violates a "
-"constraint). TODO: Add link to exception handling."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:426
-#, no-c-format
-msgid ""
-"Hibernate provides more flush modes than the one described in the EJB3 "
-"specification. Please refer to the Hibernate core reference documentation "
-"for more informations."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:432
-#, no-c-format
-msgid "Outside a transaction"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:433
-#, no-c-format
-msgid ""
-"In an <literal>EXTENDED</literal> persistence context, all read only "
-"operations of the entity manager can be executed outside a transaction "
-"(<literal>find()</literal>, <literal>getReference()</literal>, "
-"<literal>refresh()</literal>, and read queries). Some modifications "
-"operations can be executed outside a transaction, but they are queued until "
-"the persistence context join a transaction. This is the case of "
-"<literal>persist()</literal>, <literal><literal>merge()</literal></literal>, "
-"<literal>remove()</literal>. Some operations cannot be called outside a "
-"transaction: <literal>flush()</literal>, <literal>lock()</literal>, and "
-"update/delete queries."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:441
-#, no-c-format
-msgid "Transitive persistence"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:442
-#, no-c-format
-msgid ""
-"It is quite cumbersome to save, delete, or reattach individual objects, "
-"especially if you deal with a graph of associated objects. A common case is "
-"a parent/child relationship. Consider the following example:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:445
-#, no-c-format
-msgid ""
-"If the children in a parent/child relationship would be value typed (e.g. a "
-"collection of addresses or strings), their lifecycle would depend on the "
-"parent and no further action would be required for convenient \"cascading\" "
-"of state changes. When the parent is persisted, the value-typed child "
-"objects are persisted as well, when the parent is removed, the children will "
-"be removed, etc. This even works for operations such as the removal of a "
-"child from the collection; Hibernate will detect this and, since value-typed "
-"objects can&#39;t have shared references, remove the child from the database."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:448
-#, no-c-format
-msgid ""
-"Now consider the same scenario with parent and child objects being entities, "
-"not value-types (e.g. categories and items, or parent and child cats). "
-"Entities have their own lifecycle, support shared references (so removing an "
-"entity from the collection does not mean it can be deleted), and there is by "
-"default no cascading of state from one entity to any other associated "
-"entities. The EJB3 specification does not require persistence by "
-"reachability. It supports a more flexible model of transitive persistence, "
-"as first seen in Hibernate."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:451
-#, no-c-format
-msgid ""
-"For each basic operation of the entity manager - including "
-"<methodname>persist()</methodname>, <methodname>merge()</methodname>, "
-"<methodname>remove()</methodname>, <methodname>refresh()</methodname> - "
-"there is a corresponding cascade style. Respectively, the cascade styles are "
-"named PERSIST, MERGE, REMOVE, REFRESH. If you want an operation to be "
-"cascaded to associated entity (or collection of entities), you must indicate "
-"that in the association annotation:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:454
-#, no-c-format
-msgid "@OneToOne(cascade=CascadeType.PERSIST)"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:455
-#, no-c-format
-msgid "Cascading options can be combined:"
-msgstr ""
-
-#. Tag: programlisting
-#: Entitymanagerapi.xml:458
-#, no-c-format
-msgid ""
-"@OneToOne(cascade= { CascadeType.PERSIST, CascadeType.REMOVE, CascadeType."
-"REFRESH } )"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:459
-#, no-c-format
-msgid ""
-"You may even use CascadeType.ALL to specify that all operations should be "
-"cascaded for a particular association. Remember that by default, no "
-"operation is cascaded."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:462
-#, no-c-format
-msgid ""
-"Hibernate offers more native cascading options, please refer to the "
-"Hibernate Annotations manual and the Hibernate reference guide for more "
-"informations."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:465
-#, no-c-format
-msgid "Recommendations:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:470
-#, no-c-format
-msgid ""
-"It doesn&#39;t usually make sense to enable cascade on a "
-"<literal>@ManyToOne</literal> or <literal>@ManyToMany</literal> association. "
-"Cascade is often useful for <literal>@OneToOne</literal> and "
-"<literal>@OneToMany</literal> associations."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:475
-#, no-c-format
-msgid ""
-"If the child object&#39;s lifespan is bounded by the lifespan of the parent "
-"object, make the parent a full lifecycle object by specifying "
-"<literal>CascadeType.ALL</literal> and <literal>org.hibernate.annotations."
-"CascadeType.DELETE_ORPHAN</literal> (please refer to the Hibernate reference "
-"guide for the semantics of orphan delete)"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:480
-#, no-c-format
-msgid ""
-"Otherwise, you might not need cascade at all. But if you think that you will "
-"often be working with the parent and children together in the same "
-"transaction, and you want to save yourself some typing, consider using "
-"<code>cascade={PERSIST, MERGE}</code>. These options can even make sense for "
-"a many-to-many association."
-msgstr ""
-
-#. Tag: title
-#: Entitymanagerapi.xml:488
-#, no-c-format
-msgid "Locking"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:489
-#, no-c-format
-msgid ""
-"The default locking system in EJB3 is mostly based on optimistic locking (ie "
-"using a version column to check any concurrency issues). EJB3 has defined an "
-"additional mechanism to increase the concurrency guaranties. You can apply a "
-"lock on a given entity (and it&#39;s associated entities if <literal>LOCK</"
-"literal> is cascaded) through the <methodname>lock(Object entity)</"
-"methodname> method. Depending on the concurrency guaranties you requires, "
-"you choose a lock mode:"
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:494
-#, no-c-format
-msgid ""
-"<literal>LockMode.READ</literal> prevents dirty-reads and non repeatable "
-"read on a given entity."
-msgstr ""
-
-#. Tag: para
-#: Entitymanagerapi.xml:499
-#, no-c-format
-msgid ""
-"<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 ""
-

Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_ejbql.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_ejbql.po	2009-06-05 06:10:16 UTC (rev 89865)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Query_ejbql.po	2009-06-05 06:10:32 UTC (rev 89866)
@@ -1,24 +1,27 @@
+# translation of Query_ejbql.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_ejbql\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-05 15: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
 #: Query_ejbql.xml:5
 #, no-c-format
 msgid "EJB-QL: The Object Query Language"
-msgstr ""
+msgstr "EJB-QL: Le langage de recherche d'objets"
 
 #. Tag: para
 #: Query_ejbql.xml:6
@@ -30,13 +33,13 @@
 "problem using EJB-QL. Actually, you use the same query API for EJB-QL and "
 "HQL queries. Portable EJB3 applications however should stick to EJB-QL or "
 "similar vendor extensions are needed."
-msgstr ""
+msgstr "EJB3-QL a été lourdement inspiré par HQL, le langage de recherche Hibernate natif. Ils sont donc très proche de SQL, mais portable et indépendant du schéma de la base de données. Les personnes qui connaissent bien HQL ne devraient pas rencontrer de problèmes avec EJB-QL. En fait, vous utilisez la même requête API pour les requêtes EJB-QL et HQL. Les applications EJB portables cependant, doivent se cantonner aux extensions EJB-QL ou fournisseurs semblables, selon les besoins."
 
 #. Tag: title
 #: Query_ejbql.xml:9
 #, no-c-format
 msgid "Case Sensitivity"
-msgstr ""
+msgstr "Respect de la casse "
 
 #. Tag: para
 #: Query_ejbql.xml:10
@@ -48,6 +51,10 @@
 "eg.FOO</literal> is not <literal>org.hibernate.eg.Foo</literal> and "
 "<literal>foo.barSet</literal> is not <literal>foo.BARSET</literal>."
 msgstr ""
+"Les requêtes sont sensibles à la casse, excepté pour les noms de classes et les propriétés Java. Donc, <literal>SeLeCT</literal> équivaut à <literal>sELEct</"
+"literal> ou à <literal>SELECT</literal> mais <literal>org.hibernate."
+"eg.FOO</literal> n'est pas <literal>org.hibernate.eg.Foo</literal> et "
+"<literal>foo.barSet</literal> n'est pas <literal>foo.BARSET</literal>."
 
 #. Tag: para
 #: Query_ejbql.xml:13
@@ -56,25 +63,25 @@
 "This manual uses lowercase EJBQL keywords. Some users find queries with "
 "uppercase keywords more readable, but we find this convention ugly when "
 "embedded in Java code."
-msgstr ""
+msgstr "Ce manuel utilise des mots clé EJBQL en minuscule. Certains utilisateurs font leurs requêtes avec des mots clé en majuscules plus lisibles, mais nous trouvons que cette convention n'est pas très élégante associée à l'encodage Java."
 
 #. Tag: title
 #: Query_ejbql.xml:16
 #, no-c-format
 msgid "The from clause"
-msgstr ""
+msgstr "La clause from"
 
 #. Tag: para
 #: Query_ejbql.xml:17
 #, no-c-format
 msgid "The simplest possible EJB-QL query is of the form:"
-msgstr ""
+msgstr "La requête EJB-QL la plus simple est de la forme :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:20
 #, no-c-format
 msgid "select c from eg.Cat c"
-msgstr ""
+msgstr "sélectionner c de Cat c"
 
 #. Tag: para
 #: Query_ejbql.xml:21
@@ -85,13 +92,13 @@
 "usually need to qualify the class name, since the entity name defaults to "
 "the unqualified class name (<literal>@Entity</literal>). So we almost always "
 "just write:"
-msgstr ""
+msgstr "ce qui retourne tout simplement toutes les instances de la classe <literal>eg.Cat</literal>. A la différence d'HQL. la clause sélectionnée n'est pas optionnelle dans EJB-QL. Nous n'avons pas besoin normalement de qualifier le nom de classe, puisque le nom de l'entité est par défaut le nom de la classe non qualifiée (<literal>@Entity</literal>). Donc, on peut presque toujours écrire :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:24
 #, no-c-format
 msgid "select c from Cat c"
-msgstr ""
+msgstr "sélectionner c de Cat c"
 
 #. Tag: para
 #: Query_ejbql.xml:25
@@ -101,12 +108,15 @@
 "literal> keywork is optional. An alias allows you to refer to <literal>Cat</"
 "literal> in other parts of the query."
 msgstr ""
+"Comme vous avez pu le noter, on peut assigner des alias aux classes, le mot clé <literal>as</"
+"literal> est optionnel. Un alias vous permet de vous référer à <literal>Cat</"
+"literal> dans d'autres parties de la requête."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:28 Query_ejbql.xml:158
 #, no-c-format
 msgid "select cat from Cat as cat"
-msgstr ""
+msgstr "sélectionner cat de Cat comme cat"
 
 #. Tag: para
 #: Query_ejbql.xml:29
@@ -114,13 +124,13 @@
 msgid ""
 "Multiple classes may appear, resulting in a cartesian product or \"cross\" "
 "join."
-msgstr ""
+msgstr "Des classes multiples peuvent apparaître, résultant en un produit cartésien ou \"cross\" join."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:32
 #, no-c-format
 msgid "select form, param from Formula as form, Parameter as param"
-msgstr ""
+msgstr "selectionner xxxxx"
 
 #. Tag: para
 #: Query_ejbql.xml:33
@@ -129,13 +139,13 @@
 "It is considered good practice to name query aliases using an initial "
 "lowercase, consistent with Java naming standards for local variables (eg. "
 "<literal>domesticCat</literal>)."
-msgstr ""
+msgstr "Il est considéré de bon usage de nommer les alias de requêtes en utilisant une initiale en minuscules. consistante avec les standards de nommage Java pour les locales variables (par exemple <literal>domesticCat</literal>)."
 
 #. Tag: title
 #: Query_ejbql.xml:36
 #, no-c-format
 msgid "Associations and joins"
-msgstr ""
+msgstr "Associations et joins"
 
 #. Tag: para
 #: Query_ejbql.xml:37
@@ -143,7 +153,7 @@
 msgid ""
 "You may also assign aliases to associated entities, or even to elements of a "
 "collection of values, using a <literal>join</literal>."
-msgstr ""
+msgstr "Vous pouvez aussi assigner des alias à des entités associées, ou même à des éléments d'une collection de valeurs, utilisant un <literal>join</literal>."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:40
@@ -153,30 +163,33 @@
 "    inner join cat.mate as mate\n"
 "    left outer join cat.kittens as kitten"
 msgstr ""
+"select cat, mate, kitten from Cat as cat \n"
+"    inner join cat.mate as mate\n"
+"    left outer join cat.kittens as kitten"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:41
 #, no-c-format
 msgid "select cat from Cat as cat left join cat.mate.kittens as kittens"
-msgstr ""
+msgstr "sélectionner cat de Cat xxxxx"
 
 #. Tag: para
 #: Query_ejbql.xml:42
 #, no-c-format
 msgid "The supported join types are borrowed from ANSI SQL"
-msgstr ""
+msgstr "Les types de join proviennent d'ANSI SQL"
 
 #. Tag: literal
 #: Query_ejbql.xml:48
 #, no-c-format
 msgid "inner join"
-msgstr ""
+msgstr "inner join"
 
 #. Tag: literal
 #: Query_ejbql.xml:53
 #, no-c-format
 msgid "left outer join"
-msgstr ""
+msgstr "left outer join"
 
 #. Tag: para
 #: Query_ejbql.xml:57
@@ -185,6 +198,8 @@
 "The <literal>inner join</literal>, <literal>left outer join</literal> "
 "constructs may be abbreviated."
 msgstr ""
+"Les constructions <literal>inner join</literal>, et <literal>left outer join</literal> "
+"peuvent être abrégées."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:60
@@ -194,6 +209,9 @@
 "    join cat.mate as mate\n"
 "    left join cat.kittens as kitten"
 msgstr ""
+"select cat, mate, kitten from Cat as cat \n"
+"    join cat.mate as mate\n"
+"    left join cat.kittens as kitten"
 
 #. Tag: para
 #: Query_ejbql.xml:61
@@ -205,7 +223,7 @@
 "overrides the fetching options in the associations and collection mapping "
 "metadata. See the Performance chapter of the Hibernate reference guide for "
 "more information."
-msgstr ""
+msgstr "De plus, a join \"fetch\" vous permet des associations ou des collections de valeurs à initialiser avec leurs objets-parents, en utilisant une simple sélection. Cela est particulièrement utile dans le cas d'une collection. Cela surcharge les options de fetching efficacement pour les métadonnées de mappage de collections et d'associations. Voir le chapitre Performance du Guide de référence Hibernate pour davantage d'informations."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:64
@@ -215,6 +233,9 @@
 "    inner join fetch cat.mate\n"
 "    left join fetch cat.kittens"
 msgstr ""
+"select cat from Cat as cat \n"
+"    inner join fetch cat.mate\n"
+"    left join fetch cat.kittens"
 
 #. Tag: para
 #: Query_ejbql.xml:65
@@ -226,7 +247,7 @@
 "directly in the query results. Instead, they may be accessed via the parent "
 "object. The only reason we might need an alias is if we are recursively join "
 "fetching a further collection:"
-msgstr ""
+msgstr "Un join fetch n'a pas normalement besoin d'assigner un alias, car les objets associés ne devraient pas être utilisés dans la clause <literal>where</literal> (ou n'importe quelle autre clause). Aussi, les objets associés ne sont pas retournés directement dans les résultats de requête. A la place, ils peuvent être accédés par l'objet parent. La seule raison pour laquelle on pourrait avoir besoin d'un alias, c'est si on 'join fetch' une collection plus éloignée de façon récursive."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:68
@@ -237,6 +258,10 @@
 "    left join fetch cat.kittens child\n"
 "    left join fetch child.kittens"
 msgstr ""
+"select cat from Cat as cat \n"
+"    inner join fetch cat.mate\n"
+"    left join fetch cat.kittens child\n"
+"    left join fetch child.kittens"
 
 #. Tag: para
 #: Query_ejbql.xml:69
@@ -252,6 +277,9 @@
 "collection roles also sometimes gives unexpected results for bag mappings, "
 "so be careful about how you formulate your queries in this case."
 msgstr ""
+"Notez bien que la construction <literal>fetch</literal> peut ne pas être utilisé pour des requêtes appelées en utilisant <literal>scroll()</literal> ou <literal>iterate()</literal>. "
+"Et <literal>fetch</literal> ne devrait pas être utilisé avec "
+"<literal>setMaxResults()</literal> ou <literal>setFirstResult()</literal>. Il est possible de créer un produit cartésien en 'join fetch XXX' plus d'une collection dans une requête (comme dans l'exemple ci-dessus). Veillez à ce que le résultat de ce produit ne soit pas plus élevé que ce que vous espériez. 'join fetching' plusieurs rôles de collection peut aussi parfois vous donner des résultats innatendus pour les mappages de bag, donc faîtes bien attention à la manière dont vous allez formuler vos demandes dans ce cas."
 
 #. Tag: para
 #: Query_ejbql.xml:72
@@ -260,7 +288,7 @@
 "TODO: The last statement is useless and typical developer thinking, please "
 "elaborate. The word \"sometimes\" should never appear in any technical "
 "documentation."
-msgstr ""
+msgstr "xxxx "
 
 #. Tag: para
 #: Query_ejbql.xml:75
@@ -270,13 +298,13 @@
 "instrumentation), it is possible to force Hibernate to fetch the lazy "
 "properties immediately (in the first query) using <literal>fetch all "
 "properties</literal>. This is Hibernate specific option:"
-msgstr ""
+msgstr "Si vous utilisez le lazy fetching au niveau-propriété (avec l'instrumentation bytecode), il est possible de forcer Hibernate à 'fetch' les propriétés lazy immédiatement (dans la première demande) en utilisant <literal>fetch all properties</literal>. Il s'agit d'une option spécifique d'Hibernate :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:78
 #, no-c-format
 msgid "select doc from Document doc fetch all properties order by doc.name"
-msgstr ""
+msgstr "xxxx"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:79
@@ -284,13 +312,13 @@
 msgid ""
 "select doc from Document doc fetch all properties where lower(doc.name) like "
 "&#39;%cats%&#39;"
-msgstr ""
+msgstr "xxxx"
 
 #. Tag: title
 #: Query_ejbql.xml:80
 #, no-c-format
 msgid "The select clause"
-msgstr ""
+msgstr "La clause select"
 
 #. Tag: para
 #: Query_ejbql.xml:81
@@ -298,7 +326,7 @@
 msgid ""
 "The <literal>select</literal> clause picks which objects and properties to "
 "return in the query result set. Consider:"
-msgstr ""
+msgstr "La clause <literal>select</literal> choisit les objets et les propriétés à retourner dans le result set de la recherche. Veuillez considérer :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:84
@@ -308,6 +336,9 @@
 "from Cat as cat \n"
 "    inner join cat.mate as mate"
 msgstr ""
+"select mate \n"
+"from Cat as cat \n"
+"    inner join cat.mate as mate"
 
 #. Tag: para
 #: Query_ejbql.xml:85
@@ -316,12 +347,14 @@
 "The query will select <literal>mate</literal>s of other <literal>Cat</"
 "literal>s. Actually, you may express this query more compactly as:"
 msgstr ""
+"La requête va sélectionner les <literal>mate</literal>s d'autres <literal>Cat</"
+"literal>s. En fait, vous pouvez exprimer cette requête de façon plus compacte ainsi :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:88
 #, no-c-format
 msgid "select cat.mate from Cat cat"
-msgstr ""
+msgstr "select cat.mate from Cat cat"
 
 #. Tag: para
 #: Query_ejbql.xml:89
@@ -329,7 +362,7 @@
 msgid ""
 "Queries may return properties of any value type including properties of "
 "component type:"
-msgstr ""
+msgstr "Les requêtes peuvent retourner des propriétés attachées à n'importe quel type de valeur, y compris des propriétés de type de composant :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:92
@@ -338,12 +371,14 @@
 "select cat.name from DomesticCat cat\n"
 "where cat.name like &#39;fri%&#39;"
 msgstr ""
+"select cat.name from DomesticCat cat\n"
+"where cat.name like &#39;fri%&#39;"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:93
 #, no-c-format
 msgid "select cust.name.firstName from Customer as cust"
-msgstr ""
+msgstr "select cust.name.firstName from Customer as cust"
 
 #. Tag: para
 #: Query_ejbql.xml:94
@@ -362,12 +397,16 @@
 "    inner join mother.mate as mate\n"
 "    left outer join mother.kittens as offspr"
 msgstr ""
+"select mother, offspr, mate.name \n"
+"from DomesticCat as mother\n"
+"    inner join mother.mate as mate\n"
+"    left outer join mother.kittens as offspr"
 
 #. Tag: para
 #: Query_ejbql.xml:98
 #, no-c-format
 msgid "or as a <literal>List</literal> (HQL specific feature)"
-msgstr ""
+msgstr "ou en tant que <literal>List</literal> (fonctionnalité spécifique HQL)"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:101
@@ -378,12 +417,16 @@
 "    inner join mother.mate as mate\n"
 "    left outer join mother.kittens as offspr"
 msgstr ""
+"select new list(mother, offspr, mate.name)\n"
+"from DomesticCat as mother\n"
+"    inner join mother.mate as mate\n"
+"    left outer join mother.kittens as offspr"
 
 #. Tag: para
 #: Query_ejbql.xml:102
 #, no-c-format
 msgid "or as an actual typesafe Java object,"
-msgstr ""
+msgstr "ou en tant qu'objet Java typesafe,"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:105
@@ -394,6 +437,10 @@
 "    join mother.mate as mate\n"
 "    left join mother.kittens as offspr"
 msgstr ""
+"select new Family(mother, mate, offspr)\n"
+"from DomesticCat as mother\n"
+"    join mother.mate as mate\n"
+"    left join mother.kittens as offspr"
 
 #. Tag: para
 #: Query_ejbql.xml:106
@@ -401,14 +448,13 @@
 msgid ""
 "assuming that the class <literal>Family</literal> has an appropriate "
 "constructor."
-msgstr ""
+msgstr "en assumant que la classe <literal>Family</literal> possède un constructeur qui convient."
 
 #. Tag: para
 #: Query_ejbql.xml:109
 #, no-c-format
-msgid ""
-"You may assign aliases to selected expressions using <literal>as</literal>:"
-msgstr ""
+msgid "You may assign aliases to selected expressions using <literal>as</literal>:"
+msgstr "Vous pouvez assigner des alias pour sélectionner des expressions avec <literal>as</literal> :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:112
@@ -417,6 +463,8 @@
 "select max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n\n"
 "from Cat cat"
 msgstr ""
+"select max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n\n"
+"from Cat cat"
 
 #. Tag: para
 #: Query_ejbql.xml:113
@@ -425,6 +473,8 @@
 "This is most useful when used together with <literal>select new map</"
 "literal> (HQL specific feature):"
 msgstr ""
+"C'est très utile en combinaison avec <literal>select new map</"
+"literal> (fonctionnalité spécifique HQL) :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:116
@@ -434,25 +484,26 @@
 "n )\n"
 "from Cat cat"
 msgstr ""
+"select new map( max(bodyWeight) as max, min(bodyWeight) as min, count(*) as "
+"n )\n"
+"from Cat cat"
 
 #. Tag: para
 #: Query_ejbql.xml:117
 #, no-c-format
-msgid ""
-"This query returns a <literal>Map</literal> from aliases to selected values."
-msgstr ""
+msgid "This query returns a <literal>Map</literal> from aliases to selected values."
+msgstr "Cette requête retourne un <literal>Map</literal> à partir des alias liés à des valeurs sélectionnées."
 
 #. Tag: title
 #: Query_ejbql.xml:120
 #, no-c-format
 msgid "Aggregate functions"
-msgstr ""
+msgstr "Fonctions agrégées"
 
 #. Tag: para
 #: Query_ejbql.xml:121
 #, no-c-format
-msgid ""
-"HQL queries may even return the results of aggregate functions on properties:"
+msgid "HQL queries may even return the results of aggregate functions on properties:"
 msgstr ""
 
 #. Tag: programlisting
@@ -462,31 +513,32 @@
 "select avg(cat.weight), sum(cat.weight), max(cat.weight), count(cat)\n"
 "from Cat cat"
 msgstr ""
+"select avg(cat.weight), sum(cat.weight), max(cat.weight), count(cat)\n"
+"from Cat cat"
 
 #. Tag: para
 #: Query_ejbql.xml:125
 #, no-c-format
 msgid "The supported aggregate functions are"
-msgstr ""
+msgstr "Les fonctions agrégées prises en charge sont les suivantes :"
 
 #. Tag: literal
 #: Query_ejbql.xml:131
 #, no-c-format
-msgid ""
-"avg(...), avg(distinct ...), sum(...), sum(distinct ...), min(...), max(...)"
-msgstr ""
+msgid "avg(...), avg(distinct ...), sum(...), sum(distinct ...), min(...), max(...)"
+msgstr "avg(...), avg(distinct ...), sum(...), sum(distinct ...), min(...), max(...)"
 
 #. Tag: literal
 #: Query_ejbql.xml:136
 #, no-c-format
 msgid "count(*)"
-msgstr ""
+msgstr "count(*)"
 
 #. Tag: literal
 #: Query_ejbql.xml:141
 #, no-c-format
 msgid "count(...), count(distinct ...), count(all...)"
-msgstr ""
+msgstr "count(...), count(distinct ...), count(all...)"
 
 #. Tag: para
 #: Query_ejbql.xml:145
@@ -495,7 +547,7 @@
 "You may use arithmetic operators, concatenation, and recognized SQL "
 "functions in the select clause (dpending on configured dialect, HQL specific "
 "feature):"
-msgstr ""
+msgstr "Vous pouvez utiliser la concaténation, les opérateurs arithmétiques, et les fonctionnalités SQL reconnues dans la clause sélectionnée (suivant le dialecte configuré, ou la fonctionnalité spécifique HQL) :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:148
@@ -505,7 +557,7 @@
 "from Cat cat \n"
 "    join cat.kittens kitten\n"
 "group by cat.id, cat.weight"
-msgstr ""
+msgstr " "
 
 #. Tag: programlisting
 #: Query_ejbql.xml:149
@@ -521,7 +573,7 @@
 msgid ""
 "The <literal>distinct</literal> and <literal>all</literal> keywords may be "
 "used and have the same semantics as in SQL."
-msgstr ""
+msgstr "Les mots clé <literal>distinct</literal> et <literal>all</literal> peuvent être utilisés et avoir les mêmes sémantiques que dans SQL."
 
 #. Tag: programlisting
 #: Query_ejbql.xml:153
@@ -531,18 +583,21 @@
 "\n"
 "select count(distinct cat.name), count(cat) from Cat cat"
 msgstr ""
+"select distinct cat.name from Cat cat\n"
+"\n"
+"select count(distinct cat.name), count(cat) from Cat cat"
 
 #. Tag: title
 #: Query_ejbql.xml:154
 #, no-c-format
 msgid "Polymorphic queries"
-msgstr ""
+msgstr "Requêtes polymorphiques"
 
 #. Tag: para
 #: Query_ejbql.xml:155
 #, no-c-format
 msgid "A query like:"
-msgstr ""
+msgstr "Une requête comme :"
 
 #. Tag: para
 #: Query_ejbql.xml:159
@@ -556,6 +611,8 @@
 "class or implement the interface. The following query would return all "
 "persistent objects:"
 msgstr ""
+"retourne des instances non seulement de <literal>Cat</literal>, mais aussi de toutes les sousclasses comme <literal>DomesticCat</literal>. Les requêtes Hibernate peuvent nommer <emphasis>n'importe quelle</emphasis>classe Java ou interface de la clause <literal>from</"
+"literal> (les requêtes portable EJB-QL) ne doivent uniquement nommer des entités mappées). La requête va retourner des instances de toutes les classes persistantes qui prolongent cette classe ou qui implémentent l'interface. La requête suivante devrait retourner tous les objets persistants :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:162
@@ -591,7 +648,7 @@
 #: Query_ejbql.xml:170
 #, no-c-format
 msgid "The where clause"
-msgstr ""
+msgstr "La clause where"
 
 #. Tag: para
 #: Query_ejbql.xml:171
@@ -621,6 +678,9 @@
 "from Foo foo, Bar bar\n"
 "where foo.startDate = bar.date"
 msgstr ""
+"select foo \n"
+"from Foo foo, Bar bar\n"
+"where foo.startDate = bar.date"
 
 #. Tag: para
 #: Query_ejbql.xml:179
@@ -654,12 +714,13 @@
 "select foo from Foo foo  \n"
 "where foo.bar.baz.customer.address.city is not null"
 msgstr ""
+"select foo from Foo foo  \n"
+"where foo.bar.baz.customer.address.city is not null"
 
 #. Tag: para
 #: Query_ejbql.xml:187
 #, no-c-format
-msgid ""
-"you would end up with a query that would require four table joins in SQL."
+msgid "you would end up with a query that would require four table joins in SQL."
 msgstr ""
 
 #. Tag: para
@@ -684,6 +745,9 @@
 "from Cat cat, Cat mate\n"
 "where cat.mate = mate"
 msgstr ""
+"select cat, mate \n"
+"from Cat cat, Cat mate\n"
+"where cat.mate = mate"
 
 #. Tag: para
 #: Query_ejbql.xml:195
@@ -702,6 +766,9 @@
 "\n"
 "select cat from Cat as cat where cat.mate.id = 69"
 msgstr ""
+"select cat from Cat as cat where cat.id = 123\n"
+"\n"
+"select cat from Cat as cat where cat.mate.id = 69"
 
 #. Tag: para
 #: Query_ejbql.xml:199
@@ -726,6 +793,9 @@
 "where person.id.country = &#39;AU&#39; \n"
 "    and person.id.medicareNumber = 123456"
 msgstr ""
+"select person from bank.Person person\n"
+"where person.id.country = &#39;AU&#39; \n"
+"    and person.id.medicareNumber = 123456"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:206
@@ -735,6 +805,9 @@
 "where account.owner.id.country = &#39;AU&#39; \n"
 "    and account.owner.id.medicareNumber = 123456"
 msgstr ""
+"select account from bank.Account account\n"
+"where account.owner.id.country = &#39;AU&#39; \n"
+"    and account.owner.id.medicareNumber = 123456"
 
 #. Tag: para
 #: Query_ejbql.xml:207
@@ -776,6 +849,8 @@
 "store.owner.address.city    // okay\n"
 "store.owner.address         // error!"
 msgstr ""
+"store.owner.address.city    // okay\n"
+"store.owner.address         // error!"
 
 #. Tag: para
 #: Query_ejbql.xml:218
@@ -795,6 +870,8 @@
 "from AuditLog log, Payment payment \n"
 "where log.item.class = &#39;Payment&#39; and log.item.id = payment.id"
 msgstr ""
+"from AuditLog log, Payment payment \n"
+"where log.item.class = &#39;Payment&#39; and log.item.id = payment.id"
 
 #. Tag: para
 #: Query_ejbql.xml:222
@@ -809,7 +886,7 @@
 #: Query_ejbql.xml:225
 #, no-c-format
 msgid "Expressions"
-msgstr ""
+msgstr "Expressions"
 
 #. Tag: para
 #: Query_ejbql.xml:226
@@ -863,6 +940,9 @@
 "and \"searched\" case, <literal>case when ... then ... else ... end "
 "(specific to HQL)</literal>"
 msgstr ""
+"\"Simple\" case, <literal>case ... when ... then ... else ... end</literal>, "
+"and \"searched\" case, <literal>case when ... then ... else ... end "
+"(spécifique à HQL)</literal>"
 
 #. Tag: para
 #: Query_ejbql.xml:261
@@ -879,6 +959,8 @@
 "<literal>current_date()</literal>, <literal>current_time()</literal>, "
 "<literal>current_timestamp()</literal>"
 msgstr ""
+"<literal>current_date()</literal>, <literal>current_time()</literal>, "
+"<literal>current_timestamp()</literal>"
 
 #. Tag: para
 #: Query_ejbql.xml:271
@@ -888,6 +970,9 @@
 "(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, "
 "<literal>year(...)</literal>, (specific to HQL)"
 msgstr ""
+"<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour"
+"(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, "
+"<literal>year(...)</literal>, (spécifique à HQL)"
 
 #. Tag: para
 #: Query_ejbql.xml:276
@@ -902,7 +987,7 @@
 #: Query_ejbql.xml:281
 #, no-c-format
 msgid "<literal>coalesce()</literal> and <literal>nullif()</literal>"
-msgstr ""
+msgstr "<literal>coalesce()</literal> et <literal>nullif()</literal>"
 
 #. Tag: para
 #: Query_ejbql.xml:286
@@ -956,8 +1041,7 @@
 #. Tag: para
 #: Query_ejbql.xml:316
 #, no-c-format
-msgid ""
-"<literal>in</literal> and <literal>between</literal> may be used as follows:"
+msgid "<literal>in</literal> and <literal>between</literal> may be used as follows:"
 msgstr ""
 
 #. Tag: programlisting
@@ -1070,8 +1154,7 @@
 #. Tag: programlisting
 #: Query_ejbql.xml:345
 #, no-c-format
-msgid ""
-"select cal from Calendar cal where maxelement(cal.holidays) &gt; current date"
+msgid "select cal from Calendar cal where maxelement(cal.holidays) &gt; current date"
 msgstr ""
 
 #. Tag: programlisting
@@ -1105,6 +1188,8 @@
 "select mother from Cat as mother, Cat as kit\n"
 "where kit in elements(foo.kittens)"
 msgstr ""
+"select mother from Cat as mother, Cat as kit\n"
+"where kit in elements(foo.kittens)"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:352
@@ -1113,6 +1198,8 @@
 "select p from NameList list, Person p\n"
 "where p.name = some elements(list.names)"
 msgstr ""
+"select p from NameList list, Person p\n"
+"where p.name = some elements(list.names)"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:353
@@ -1165,6 +1252,9 @@
 "where calendar.holidays[&#39;national day&#39;] = person.birthDay\n"
 "    and person.nationality.calendar = calendar"
 msgstr ""
+"select person from Person person, Calendar calendar\n"
+"where calendar.holidays[&#39;national day&#39;] = person.birthDay\n"
+"    and person.nationality.calendar = calendar"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:364
@@ -1173,6 +1263,8 @@
 "select item from Item item, Order order\n"
 "where order.items[ order.deliveredItemIndices[0] ] = item and order.id = 11"
 msgstr ""
+"select item from Item item, Order order\n"
+"where order.items[ order.deliveredItemIndices[0] ] = item and order.id = 11"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:365
@@ -1181,6 +1273,8 @@
 "select item from Item item, Order order\n"
 "where order.items[ maxindex(order.items) ] = item and order.id = 11"
 msgstr ""
+"select item from Item item, Order order\n"
+"where order.items[ maxindex(order.items) ] = item and order.id = 11"
 
 #. Tag: para
 #: Query_ejbql.xml:366
@@ -1197,6 +1291,8 @@
 "select item from Item item, Order order\n"
 "where order.items[ size(order.items) - 1 ] = item"
 msgstr ""
+"select item from Item item, Order order\n"
+"where order.items[ size(order.items) - 1 ] = item"
 
 #. Tag: para
 #: Query_ejbql.xml:370
@@ -1214,6 +1310,9 @@
 "    join order.items item\n"
 "where index(item) &lt; 5"
 msgstr ""
+"select item, index(item) from Order order \n"
+"    join order.items item\n"
+"where index(item) &lt; 5"
 
 #. Tag: para
 #: Query_ejbql.xml:374
@@ -1224,8 +1323,7 @@
 #. Tag: programlisting
 #: Query_ejbql.xml:377
 #, no-c-format
-msgid ""
-"select cat from DomesticCat cat where upper(cat.name) like &#39;FRI%&#39;"
+msgid "select cat from DomesticCat cat where upper(cat.name) like &#39;FRI%&#39;"
 msgstr ""
 
 #. Tag: para
@@ -1248,12 +1346,19 @@
 "    and store.location.name in ( &#39;Melbourne&#39;, &#39;Sydney&#39; )\n"
 "    and prod = all elements(cust.currentOrder.lineItems)"
 msgstr ""
+"select cust\n"
+"from Product prod,\n"
+"    Store store\n"
+"    inner join store.customers cust\n"
+"where prod.name = &#39;widget&#39;\n"
+"    and store.location.name in ( &#39;Melbourne&#39;, &#39;Sydney&#39; )\n"
+"    and prod = all elements(cust.currentOrder.lineItems)"
 
 #. Tag: para
 #: Query_ejbql.xml:382
 #, no-c-format
 msgid "<emphasis>Hint:</emphasis> something like"
-msgstr ""
+msgstr "<emphasis>Astuce :</emphasis> quelquechose comme"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:385
@@ -1277,6 +1382,23 @@
 "            AND cust.current_order = o.id\n"
 "    )"
 msgstr ""
+"SELECT cust.name, cust.address, cust.phone, cust.id, cust.current_order\n"
+"FROM customers cust,\n"
+"    stores store,\n"
+"    locations loc,\n"
+"    store_customers sc,\n"
+"    product prod\n"
+"WHERE prod.name = &#39;widget&#39;\n"
+"    AND store.loc_id = loc.id\n"
+"    AND loc.name IN ( &#39;Melbourne&#39;, &#39;Sydney&#39; )\n"
+"    AND sc.store_id = store.id\n"
+"    AND sc.cust_id = cust.id\n"
+"    AND prod.id = ALL(\n"
+"        SELECT item.prod_id\n"
+"        FROM line_items item, orders o\n"
+"        WHERE item.order_id = o.id\n"
+"            AND cust.current_order = o.id\n"
+"    )"
 
 #. Tag: title
 #: Query_ejbql.xml:386
@@ -1299,6 +1421,8 @@
 "select cat from DomesticCat cat\n"
 "order by cat.name asc, cat.weight desc, cat.birthdate"
 msgstr ""
+"select cat from DomesticCat cat\n"
+"order by cat.name asc, cat.weight desc, cat.birthdate"
 
 #. Tag: para
 #: Query_ejbql.xml:391
@@ -1312,7 +1436,7 @@
 #: Query_ejbql.xml:394
 #, no-c-format
 msgid "The group by clause"
-msgstr ""
+msgstr "La clause de 'group by'"
 
 #. Tag: para
 #: Query_ejbql.xml:395
@@ -1330,6 +1454,9 @@
 "from Cat cat\n"
 "group by cat.color"
 msgstr ""
+"select cat.color, sum(cat.weight), count(cat) \n"
+"from Cat cat\n"
+"group by cat.color"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:399
@@ -1339,6 +1466,9 @@
 "from Foo foo join foo.names name\n"
 "group by foo.id"
 msgstr ""
+"select foo.id, avg(name), max(name) \n"
+"from Foo foo join foo.names name\n"
+"group by foo.id"
 
 #. Tag: para
 #: Query_ejbql.xml:400
@@ -1355,6 +1485,10 @@
 "group by cat.color \n"
 "having cat.color in (eg.Color.TABBY, eg.Color.BLACK)"
 msgstr ""
+"select cat.color, sum(cat.weight), count(cat) \n"
+"from Cat cat\n"
+"group by cat.color \n"
+"having cat.color in (eg.Color.TABBY, eg.Color.BLACK)"
 
 #. Tag: para
 #: Query_ejbql.xml:404
@@ -1376,6 +1510,12 @@
 "having avg(kitten.weight) &gt; 100\n"
 "order by count(kitten) asc, sum(kitten.weight) desc"
 msgstr ""
+"select cat\n"
+"from Cat cat\n"
+"    join cat.kittens kitten\n"
+"group by cat\n"
+"having avg(kitten.weight) &gt; 100\n"
+"order by count(kitten) asc, sum(kitten.weight) desc"
 
 #. Tag: para
 #: Query_ejbql.xml:408
@@ -1389,7 +1529,7 @@
 #: Query_ejbql.xml:411
 #, no-c-format
 msgid "Subqueries"
-msgstr ""
+msgstr "Sous-requêtes"
 
 #. Tag: para
 #: Query_ejbql.xml:412
@@ -1410,6 +1550,10 @@
 "    select avg(cat.weight) from DomesticCat cat \n"
 ")"
 msgstr ""
+"select fatcat from Cat as fatcat \n"
+"where fatcat.weight &gt; ( \n"
+"    select avg(cat.weight) from DomesticCat cat \n"
+")"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:416
@@ -1420,6 +1564,10 @@
 "    select name.nickName from Name as name \n"
 ")"
 msgstr ""
+"select cat from DomesticCat as cat \n"
+"where cat.name = some ( \n"
+"    select name.nickName from Name as name \n"
+")"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:417
@@ -1430,6 +1578,10 @@
 "    from Cat as mate where mate.mate = cat \n"
 ")"
 msgstr ""
+"select cat from Cat as cat \n"
+"where not exists ( \n"
+"    from Cat as mate where mate.mate = cat \n"
+")"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:418
@@ -1440,6 +1592,10 @@
 "    select name.nickName from Name as name \n"
 ")"
 msgstr ""
+"select cat from DomesticCat as cat \n"
+"where cat.name not in ( \n"
+"    select name.nickName from Name as name \n"
+")"
 
 #. Tag: para
 #: Query_ejbql.xml:419
@@ -1458,6 +1614,10 @@
 "    select cat.name, cat.color from DomesticCat cat \n"
 ")"
 msgstr ""
+"select cat from Cat as cat \n"
+"where not ( cat.name, cat.color ) in ( \n"
+"    select cat.name, cat.color from DomesticCat cat \n"
+")"
 
 #. Tag: para
 #: Query_ejbql.xml:423
@@ -1480,7 +1640,7 @@
 #: Query_ejbql.xml:427
 #, no-c-format
 msgid "Which is equivalent to the more verbose:"
-msgstr ""
+msgstr "Ce qui est équivalent au plus verbeux :"
 
 #. Tag: programlisting
 #: Query_ejbql.xml:430
@@ -1504,7 +1664,7 @@
 #: Query_ejbql.xml:434
 #, no-c-format
 msgid "EJB-QL examples"
-msgstr ""
+msgstr "exemples EJB-QL"
 
 #. Tag: para
 #: Query_ejbql.xml:435
@@ -1553,6 +1713,24 @@
 "having sum(price.amount) &gt; :minAmount\n"
 "order by sum(price.amount) desc"
 msgstr ""
+"select order.id, sum(price.amount), count(item)\n"
+"from Order as order\n"
+"    join order.lineItems as item\n"
+"    join item.product as product,\n"
+"    Catalog as catalog\n"
+"    join catalog.prices as price\n"
+"where order.paid = false\n"
+"    and order.customer = :customer\n"
+"    and price.product = product\n"
+"    and catalog.effectiveDate &lt; sysdate\n"
+"    and catalog.effectiveDate &gt;= all (\n"
+"        select cat.effectiveDate \n"
+"        from Catalog as cat\n"
+"        where cat.effectiveDate &lt; sysdate\n"
+"    )\n"
+"group by order\n"
+"having sum(price.amount) &gt; :minAmount\n"
+"order by sum(price.amount) desc"
 
 #. Tag: para
 #: Query_ejbql.xml:442
@@ -1580,6 +1758,19 @@
 "having sum(price.amount) &gt; :minAmount\n"
 "order by sum(price.amount) desc"
 msgstr ""
+"select order.id, sum(price.amount), count(item)\n"
+"from Order as order\n"
+"    join order.lineItems as item\n"
+"    join item.product as product,\n"
+"    Catalog as catalog\n"
+"    join catalog.prices as price\n"
+"where order.paid = false\n"
+"    and order.customer = :customer\n"
+"    and price.product = product\n"
+"    and catalog = :currentCatalog\n"
+"group by order\n"
+"having sum(price.amount) &gt; :minAmount\n"
+"order by sum(price.amount) desc"
 
 #. Tag: para
 #: Query_ejbql.xml:446
@@ -1613,6 +1804,21 @@
 "group by status.name, status.sortOrder\n"
 "order by status.sortOrder"
 msgstr ""
+"select count(payment), status.name \n"
+"from Payment as payment \n"
+"    join payment.currentStatus as status\n"
+"    join payment.statusChanges as statusChange\n"
+"where payment.status.name &lt;&gt; PaymentStatus.AWAITING_APPROVAL\n"
+"    or (\n"
+"        statusChange.timeStamp = ( \n"
+"            select max(change.timeStamp) \n"
+"            from PaymentStatusChange change \n"
+"            where change.payment = payment\n"
+"        )\n"
+"        and statusChange.user &lt;&gt; :currentUser\n"
+"    )\n"
+"group by status.name, status.sortOrder\n"
+"order by status.sortOrder"
 
 #. Tag: para
 #: Query_ejbql.xml:450
@@ -1635,6 +1841,14 @@
 "group by status.name, status.sortOrder\n"
 "order by status.sortOrder"
 msgstr ""
+"select count(payment), status.name \n"
+"from Payment as payment\n"
+"    join payment.currentStatus as status\n"
+"where payment.status.name &lt;&gt; PaymentStatus.AWAITING_APPROVAL\n"
+"    or payment.statusChanges[ maxIndex(payment.statusChanges) ].user &lt;"
+"&gt; :currentUser\n"
+"group by status.name, status.sortOrder\n"
+"order by status.sortOrder"
 
 #. Tag: para
 #: Query_ejbql.xml:454
@@ -1668,6 +1882,14 @@
 "PaymentStatus.UNPAID)\n"
 "order by account.type.sortOrder, account.accountNumber, payment.dueDate"
 msgstr ""
+"select account, payment\n"
+"from Account as account\n"
+"    join account.holder.users as user\n"
+"    left outer join account.payments as payment\n"
+"where :currentUser = user\n"
+"    and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, "
+"PaymentStatus.UNPAID)\n"
+"order by account.type.sortOrder, account.accountNumber, payment.dueDate"
 
 #. Tag: title
 #: Query_ejbql.xml:461
@@ -1705,6 +1927,11 @@
 "group by usr.id, usr.name\n"
 "order by count(msg)"
 msgstr ""
+"select usr.id, usr.name\n"
+"from User as usr \n"
+"    left join usr.messages as msg\n"
+"group by usr.id, usr.name\n"
+"order by count(msg)"
 
 #. Tag: para
 #: Query_ejbql.xml:470
@@ -1723,8 +1950,7 @@
 #. Tag: para
 #: Query_ejbql.xml:474
 #, no-c-format
-msgid ""
-"If your database doesn&#39;t support subselects, use the following query:"
+msgid "If your database doesn&#39;t support subselects, use the following query:"
 msgstr ""
 
 #. Tag: programlisting
@@ -1737,6 +1963,11 @@
 "group by usr.id, usr.name\n"
 "having count(msg) &gt;= 1"
 msgstr ""
+"select usr.id, usr.name\n"
+"from User usr.name\n"
+"    join usr.messages msg\n"
+"group by usr.id, usr.name\n"
+"having count(msg) &gt;= 1"
 
 #. Tag: para
 #: Query_ejbql.xml:478
@@ -1756,3 +1987,9 @@
 "group by usr.id, usr.name\n"
 "having count(msg) = 0"
 msgstr ""
+"select usr.id, usr.name\n"
+"from User as usr\n"
+"    left join usr.messages as msg\n"
+"group by usr.id, usr.name\n"
+"having count(msg) = 0"
+

Modified: projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Transactions.po
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Transactions.po	2009-06-05 06:10:16 UTC (rev 89865)
+++ projects/docs/enterprise/4.3.3/Hibernate/Entity_Manager_User_Guide/fr-FR/Transactions.po	2009-06-05 06:10:32 UTC (rev 89866)
@@ -1,24 +1,27 @@
+# translation of Transactions.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: Transactions\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-05 15:27+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
 #: Transactions.xml:5
 #, no-c-format
 msgid "Transactions and Concurrency"
-msgstr ""
+msgstr "Transactions et concurrence"
 
 #. Tag: para
 #: Transactions.xml:6
@@ -33,7 +36,7 @@
 "but does not lock objects in memory or change the isolation level of your "
 "database transactions. Basically, use Hibernate Entity Manager like you "
 "would use direct JDBC (or JTA/CMT) with your database resources."
-msgstr ""
+msgstr "Le point le plus important concernant Hibernate Entity Manager et le contrôle de concurrence, c'est que c'est très facile à comprendre. Hibernate Entity Manager utilise directement les connexions JDBC et les ressources JTA sans y ajouter aucun comportement de verrouillage supplémentaire. Nous recommandons fortement que vous passiez un certain temps avec JDBC, ANSI, et la spécification d'isolation de transaction de votre système de gestion de base de données. Hibernate Entity Manager ne fait que d'ajouter un 'versioning' automatique, mais ne verrouille pas les objets en mémoire, ni ne change le niveau d'isolation de vos transactions de bases de données. En fait, utilisez Hibernate Entity Manager comme vous utiliseriez directement JDBC (ou JTA/CMT) avec vos ressources de bases de données."
 
 #. Tag: para
 #: Transactions.xml:9
@@ -528,8 +531,7 @@
 #. Tag: para
 #: Transactions.xml:158
 #, no-c-format
-msgid ""
-"close the entity manager (if using an application-managed entity manager)"
+msgid "close the entity manager (if using an application-managed entity manager)"
 msgstr ""
 
 #. Tag: para
@@ -682,8 +684,7 @@
 #. Tag: para
 #: Transactions.xml:199
 #, no-c-format
-msgid ""
-"If you use bean-managed transactions (BMT), the code will look like this:"
+msgid "If you use bean-managed transactions (BMT), the code will look like this:"
 msgstr ""
 
 #. Tag: programlisting
@@ -785,8 +786,7 @@
 #. Tag: para
 #: Transactions.xml:219
 #, no-c-format
-msgid ""
-"TODO: The following paragraph is very confusing, especially the beginning..."
+msgid "TODO: The following paragraph is very confusing, especially the beginning..."
 msgstr ""
 
 #. Tag: para
@@ -1283,3 +1283,4 @@
 "Again, the entity manager will check instance versions during flush, "
 "throwing an exception if conflicting updates occured."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list