[jboss-cvs] JBossAS SVN: r94451 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 7 02:42:08 EDT 2009
Author: agarcia at jboss.com
Date: 2009-10-07 02:42:08 -0400 (Wed, 07 Oct 2009)
New Revision: 94451
Modified:
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/Revision_History.po
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/session_api.po
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/toolset_guide.po
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/transactions.po
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/tutorial.po
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/xml.po
Log:
mces ofi
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/Revision_History.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/Revision_History.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/Revision_History.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,121 +1,37 @@
-# translation of Collection_Mapping.po to
+# translation of Revision_History.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: Revision_History\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 07:50+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Revision_History.xml:6
#, no-c-format
msgid "Revision History"
-msgstr ""
+msgstr "Historial de revisiones"
#. Tag: author
#: Revision_History.xml:12
#, no-c-format
msgid "<firstname></firstname> <surname></surname> <email></email>"
-msgstr ""
+msgstr "<firstname></firstname> <surname></surname> <email></email>"
+
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/session_api.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/session_api.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/session_api.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,112 +1,27 @@
-# translation of Collection_Mapping.po to
+# translation of session_api.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: session_api\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 07:55+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: session_api.xml:29
@@ -235,13 +150,13 @@
#. Tag: para
#: session_api.xml:93
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"We will now discuss the states and state transitions (and the Hibernate "
"methods that trigger a transition) in more detail."
msgstr ""
"Discutiremos ahora los estados y transiciones de estados (y los métodos de "
-"Hibernate que disparan una transición) en más detalle:"
+"Hibernate que disparan una transición) en más detalle. "
#. Tag: title
#: session_api.xml:101
@@ -263,7 +178,7 @@
#. Tag: programlisting
#: session_api.xml:110
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[DomesticCat fritz = new DomesticCat();\n"
"fritz.setColor(Color.GINGER);\n"
@@ -271,11 +186,11 @@
"fritz.setName(\"Fritz\");\n"
"Long generatedId = (Long) sess.save(fritz);]]>"
msgstr ""
-"DomesticCat fritz = new DomesticCat();\n"
+"<![CDATA[DomesticCat fritz = new DomesticCat();\n"
"fritz.setColor(Color.GINGER);\n"
"fritz.setSex('M');\n"
"fritz.setName(\"Fritz\");\n"
-"Long generatedId = (Long) sess.save(fritz);"
+"Long generatedId = (Long) sess.save(fritz);]]>"
#. Tag: para
#: session_api.xml:112
@@ -325,17 +240,17 @@
#. Tag: para
#: session_api.xml:145
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"Alternatively, you can assign the identifier using an overloaded version of "
"<literal>save()</literal>."
msgstr ""
-"Alternativamente, puede asignar el identificador utilizando una versión "
+"Opcionalmente, puede asignar el identificador utilizando una versión "
"sobrecargada de <literal>save()</literal>."
#. Tag: programlisting
#: session_api.xml:150
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[DomesticCat pk = new DomesticCat();\n"
"pk.setColor(Color.TABBY);\n"
@@ -345,13 +260,13 @@
"pk.addKitten(fritz);\n"
"sess.save( pk, new Long(1234) );]]>"
msgstr ""
-"DomesticCat pk = new DomesticCat();\n"
+"<![CDATA[DomesticCat pk = new DomesticCat();\n"
"pk.setColor(Color.TABBY);\n"
"pk.setSex('F');\n"
"pk.setName(\"PK\");\n"
"pk.setKittens( new HashSet() );\n"
"pk.addKitten(fritz);\n"
-"sess.save( pk, new Long(1234) );"
+"sess.save( pk, new Long(1234) );]]>"
#. Tag: para
#: session_api.xml:152
@@ -414,22 +329,23 @@
#. Tag: programlisting
#: session_api.xml:182
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[Cat fritz = (Cat) sess.load(Cat.class, generatedId);]]>"
-msgstr "Cat fritz = (Cat) sess.load(Cat.class, generatedId);"
+msgstr "<![CDATA[Cat fritz = (Cat) sess.load(Cat.class, generatedId);]]>"
#. Tag: programlisting
#: session_api.xml:184
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// you need to wrap primitive identifiers\n"
"long id = 1234;\n"
"DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long"
"(id) );]]>"
msgstr ""
-"// you need to wrap primitive identifiers\n"
+"<![CDATA[// you need to wrap primitive identifiers\n"
"long id = 1234;\n"
-"DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long(id) );"
+"DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long"
+"(id) );]]>"
#. Tag: para
#: session_api.xml:186
@@ -439,17 +355,17 @@
#. Tag: programlisting
#: session_api.xml:190
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Cat cat = new DomesticCat();\n"
"// load pk's state into cat\n"
"sess.load( cat, new Long(pkId) );\n"
"Set kittens = cat.getKittens();]]>"
msgstr ""
-"Cat cat = new DomesticCat();\n"
+"<![CDATA[Cat cat = new DomesticCat();\n"
"// load pk's state into cat\n"
"sess.load( cat, new Long(pkId) );\n"
-"Set kittens = cat.getKittens();"
+"Set kittens = cat.getKittens();]]>"
#. Tag: para
#: session_api.xml:192
@@ -487,7 +403,7 @@
#. Tag: programlisting
#: session_api.xml:209
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id);\n"
"if (cat==null) {\n"
@@ -496,12 +412,12 @@
"}\n"
"return cat;]]>"
msgstr ""
-"Cat cat = (Cat) sess.get(Cat.class, id);\n"
+"<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id);\n"
"if (cat==null) {\n"
" cat = new Cat();\n"
" sess.save(cat, id);\n"
"}\n"
-"return cat;"
+"return cat;]]>"
#. Tag: para
#: session_api.xml:211
@@ -517,9 +433,9 @@
#. Tag: programlisting
#: session_api.xml:216
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id, LockMode.UPGRADE);]]>"
-msgstr "Cat cat = (Cat) sess.get(Cat.class, id, LockMode.UPGRADE);"
+msgstr "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id, LockMode.UPGRADE);]]>"
#. Tag: para
#: session_api.xml:218
@@ -550,15 +466,15 @@
#. Tag: programlisting
#: session_api.xml:231
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[sess.save(cat);\n"
"sess.flush(); //force the SQL INSERT\n"
"sess.refresh(cat); //re-read the state (after the trigger executes)]]>"
msgstr ""
-"sess.save(cat);\n"
+"<![CDATA[sess.save(cat);\n"
"sess.flush(); //force the SQL INSERT\n"
-"sess.refresh(cat); //re-read the state (after the trigger executes)"
+"sess.refresh(cat); //re-read the state (after the trigger executes)]]>"
#. Tag: para
#: session_api.xml:233
@@ -624,7 +540,7 @@
#. Tag: programlisting
#: session_api.xml:264
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[List cats = session.createQuery(\n"
" \"from Cat as cat where cat.birthdate < ?\")\n"
@@ -651,8 +567,8 @@
" \"select mother from Cat as mother left join fetch mother.kittens\");\n"
"Set uniqueMothers = new HashSet(mothersWithKittens.list());]]>"
msgstr ""
-"List cats = session.createQuery(\n"
-" \"from Cat as cat where cat.birthdate < ?\")\n"
+"<![CDATA[List cats = session.createQuery(\n"
+" \"from Cat as cat where cat.birthdate < ?\")\n"
" .setDate(0, date)\n"
" .list();\n"
"\n"
@@ -674,7 +590,7 @@
"\n"
"Query mothersWithKittens = (Cat) session.createQuery(\n"
" \"select mother from Cat as mother left join fetch mother.kittens\");\n"
-"Set uniqueMothers = new HashSet(mothersWithKittens.list());"
+"Set uniqueMothers = new HashSet(mothersWithKittens.list());]]>"
#. Tag: para
#: session_api.xml:266
@@ -731,7 +647,7 @@
#. Tag: programlisting
#: session_api.xml:292
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// fetch ids\n"
"Iterator iter = sess.createQuery(\"from eg.Qux q order by q.likeliness\")."
@@ -747,7 +663,7 @@
" }\n"
"}]]>"
msgstr ""
-"// fetch ids\n"
+"<![CDATA[// fetch ids\n"
"Iterator iter = sess.createQuery(\"from eg.Qux q order by q.likeliness\")."
"iterate();\n"
"while ( iter.hasNext() ) {\n"
@@ -759,7 +675,7 @@
" // dont need to process the rest\n"
" break;\n"
" }\n"
-"}"
+"}]]>"
#. Tag: title
#: session_api.xml:296
@@ -779,7 +695,7 @@
#. Tag: programlisting
#: session_api.xml:303
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Iterator kittensAndMothers = sess.createQuery(\n"
" \"select kitten, mother from Cat kitten join kitten.mother mother"
@@ -794,7 +710,7 @@
" ....\n"
"}]]>"
msgstr ""
-"Iterator kittensAndMothers = sess.createQuery(\n"
+"<![CDATA[Iterator kittensAndMothers = sess.createQuery(\n"
" \"select kitten, mother from Cat kitten join kitten.mother mother"
"\")\n"
" .list()\n"
@@ -802,10 +718,10 @@
"\n"
"while ( kittensAndMothers.hasNext() ) {\n"
" Object[] tuple = (Object[]) kittensAndMothers.next();\n"
-" Cat kitten = tuple[0];\n"
-" Cat mother = tuple[1];\n"
+" Cat kitten = (Cat) tuple[0];\n"
+" Cat mother = (Cat) tuple[1];\n"
" ....\n"
-"}"
+"}]]>"
#. Tag: title
#: session_api.xml:308
@@ -828,7 +744,7 @@
#. Tag: programlisting
#: session_api.xml:316
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Iterator results = sess.createQuery(\n"
" \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" "
@@ -845,7 +761,7 @@
" .....\n"
"}]]>"
msgstr ""
-"Iterator results = sess.createQuery(\n"
+"<![CDATA[Iterator results = sess.createQuery(\n"
" \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" "
"+\n"
" \"group by cat.color\")\n"
@@ -858,7 +774,7 @@
" Date oldest = (Date) row[1];\n"
" Integer count = (Integer) row[2];\n"
" .....\n"
-"}"
+"}]]>"
#. Tag: title
#: session_api.xml:321
@@ -886,17 +802,16 @@
#. Tag: para
#: session_api.xml:333
#, no-c-format
-msgid ""
-"named parameters are insensitive to the order they occur in the query string"
+msgid "named parameters are insensitive to the order they occur in the query string"
msgstr ""
"los parámetros con nombre son insensibles al orden en que aparecen en la "
"cadena de consulta"
#. Tag: para
#: session_api.xml:339
-#, fuzzy, no-c-format
+#, no-c-format
msgid "they can occur multiple times in the same query"
-msgstr "pueden aparecer múltiples veces en la misma consulta"
+msgstr "pueden aparecer múltiples veces en la misma petición"
#. Tag: para
#: session_api.xml:344
@@ -906,7 +821,7 @@
#. Tag: programlisting
#: session_api.xml:350
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//named parameter (preferred)\n"
"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = :name"
@@ -914,29 +829,29 @@
"q.setString(\"name\", \"Fritz\");\n"
"Iterator cats = q.iterate();]]>"
msgstr ""
-"//named parameter (preferred)\n"
+"<![CDATA[//named parameter (preferred)\n"
"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = :name"
"\");\n"
"q.setString(\"name\", \"Fritz\");\n"
-"Iterator cats = q.iterate();"
+"Iterator cats = q.iterate();]]>"
#. Tag: programlisting
#: session_api.xml:352
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//positional parameter\n"
"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = ?\");\n"
"q.setString(0, \"Izi\");\n"
"Iterator cats = q.iterate();]]>"
msgstr ""
-"//positional parameter\n"
+"<![CDATA[//positional parameter\n"
"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = ?\");\n"
"q.setString(0, \"Izi\");\n"
-"Iterator cats = q.iterate();"
+"Iterator cats = q.iterate();]]>"
#. Tag: programlisting
#: session_api.xml:354
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//named parameter list\n"
"List names = new ArrayList();\n"
@@ -947,14 +862,14 @@
"q.setParameterList(\"namesList\", names);\n"
"List cats = q.list();]]>"
msgstr ""
-"//named parameter list\n"
+"<![CDATA[//named parameter list\n"
"List names = new ArrayList();\n"
"names.add(\"Izi\");\n"
"names.add(\"Fritz\");\n"
"Query q = sess.createQuery(\"from DomesticCat cat where cat.name in (:"
"namesList)\");\n"
"q.setParameterList(\"namesList\", names);\n"
-"List cats = q.list();"
+"List cats = q.list();]]>"
#. Tag: title
#: session_api.xml:359
@@ -976,17 +891,17 @@
#. Tag: programlisting
#: session_api.xml:367
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Query q = sess.createQuery(\"from DomesticCat cat\");\n"
"q.setFirstResult(20);\n"
"q.setMaxResults(10);\n"
"List cats = q.list();]]>"
msgstr ""
-"Query q = sess.createQuery(\"from DomesticCat cat\");\n"
+"<![CDATA[Query q = sess.createQuery(\"from DomesticCat cat\");\n"
"q.setFirstResult(20);\n"
"q.setMaxResults(10);\n"
-"List cats = q.list();"
+"List cats = q.list();]]>"
#. Tag: para
#: session_api.xml:369
@@ -1020,7 +935,7 @@
#. Tag: programlisting
#: session_api.xml:386
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Query q = sess.createQuery(\"select cat.name, cat from DomesticCat "
"cat \" +\n"
@@ -1047,7 +962,8 @@
"}\n"
"cats.close()]]>"
msgstr ""
-"Query q = sess.createQuery(\"select cat.name, cat from DomesticCat cat \" +\n"
+"<![CDATA[Query q = sess.createQuery(\"select cat.name, cat from DomesticCat "
+"cat \" +\n"
" \"order by cat.name\");\n"
"ScrollableResults cats = q.scroll();\n"
"if ( cats.first() ) {\n"
@@ -1065,11 +981,11 @@
" pageOfCats = new ArrayList();\n"
" cats.beforeFirst();\n"
" int i=0;\n"
-" while( ( PAGE_SIZE > i++ ) && cats.next() ) pageOfCats.add"
-"( cats.get(1) );\n"
+" while( ( PAGE_SIZE > i++ ) && cats.next() ) pageOfCats.add( cats.get"
+"(1) );\n"
"\n"
"}\n"
-"cats.close()"
+"cats.close()]]>"
#. Tag: para
#: session_api.xml:388
@@ -1104,7 +1020,7 @@
#. Tag: programlisting
#: session_api.xml:405
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<query name=\"ByNameAndMaximumWeight\"><![CDATA[\n"
" from eg.DomesticCat as cat\n"
@@ -1112,11 +1028,11 @@
" and cat.weight > ?\n"
"] ]></query>]]>"
msgstr ""
-"<query name=\"ByNameAndMaximumWeight\"><![CDATA[\n"
+"<![CDATA[<query name=\"ByNameAndMaximumWeight\"><![CDATA[\n"
" from eg.DomesticCat as cat\n"
" where cat.name = ?\n"
-" and cat.weight > ?\n"
-"] ]></query>"
+" and cat.weight > ?\n"
+"] ]></query>]]>"
#. Tag: para
#: session_api.xml:407
@@ -1126,17 +1042,17 @@
#. Tag: programlisting
#: session_api.xml:411
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");\n"
"q.setString(0, name);\n"
"q.setInt(1, minWeight);\n"
"List cats = q.list();]]>"
msgstr ""
-"Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");\n"
+"<![CDATA[Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");\n"
"q.setString(0, name);\n"
"q.setInt(1, minWeight);\n"
-"List cats = q.list();"
+"List cats = q.list();]]>"
#. Tag: para
#: session_api.xml:413
@@ -1189,7 +1105,7 @@
#. Tag: programlisting
#: session_api.xml:439
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Collection blackKittens = session.createFilter(\n"
" pk.getKittens(), \n"
@@ -1198,12 +1114,12 @@
" .list()\n"
");]]>"
msgstr ""
-"Collection blackKittens = session.createFilter(\n"
+"<![CDATA[Collection blackKittens = session.createFilter(\n"
" pk.getKittens(), \n"
" \"where this.color = ?\")\n"
" .setParameter( Color.BLACK, Hibernate.custom(ColorUserType.class) )\n"
" .list()\n"
-");"
+");]]>"
#. Tag: para
#: session_api.xml:441
@@ -1232,17 +1148,17 @@
#. Tag: programlisting
#: session_api.xml:452
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Collection blackKittenMates = session.createFilter(\n"
" pk.getKittens(), \n"
" \"select this.mate where this.color = eg.Color.BLACK.intValue\")\n"
" .list();]]>"
msgstr ""
-"Collection blackKittenMates = session.createFilter(\n"
+"<![CDATA[Collection blackKittenMates = session.createFilter(\n"
" pk.getKittens(), \n"
" \"select this.mate where this.color = eg.Color.BLACK.intValue\")\n"
-" .list();"
+" .list();]]>"
#. Tag: para
#: session_api.xml:454
@@ -1256,17 +1172,17 @@
#. Tag: programlisting
#: session_api.xml:459
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Collection tenKittens = session.createFilter(\n"
" mother.getKittens(), \"\")\n"
" .setFirstResult(0).setMaxResults(10)\n"
" .list();]]>"
msgstr ""
-"Collection tenKittens = session.createFilter(\n"
+"<![CDATA[Collection tenKittens = session.createFilter(\n"
" mother.getKittens(), \"\")\n"
" .setFirstResult(0).setMaxResults(10)\n"
-" .list();"
+" .list();]]>"
#. Tag: title
#: session_api.xml:464
@@ -1290,17 +1206,17 @@
#. Tag: programlisting
#: session_api.xml:472
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Criteria crit = session.createCriteria(Cat.class);\n"
"crit.add( Restrictions.eq( \"color\", eg.Color.BLACK ) );\n"
"crit.setMaxResults(10);\n"
"List cats = crit.list();]]>"
msgstr ""
-"Criteria crit = session.createCriteria(Cat.class);\n"
-"crit.add( Expression.eq( \"color\", eg.Color.BLACK ) );\n"
+"<![CDATA[Criteria crit = session.createCriteria(Cat.class);\n"
+"crit.add( Restrictions.eq( \"color\", eg.Color.BLACK ) );\n"
"crit.setMaxResults(10);\n"
-"List cats = crit.list();"
+"List cats = crit.list();]]>"
#. Tag: para
#: session_api.xml:474
@@ -1339,22 +1255,21 @@
#. Tag: programlisting
#: session_api.xml:492
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} "
"WHERE ROWNUM<10\")\n"
" .addEntity(\"cat\", Cat.class)\n"
".list();]]>"
msgstr ""
-"List cats = session.createSQLQuery(\n"
-" \"SELECT {cat.*} FROM CAT {cat} WHERE ROWNUM<10\",\n"
-" \"cat\",\n"
-" Cat.class\n"
-").list();"
+"<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} "
+"WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list();]]>"
#. Tag: programlisting
#: session_api.xml:494
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[List cats = session.createSQLQuery(\n"
" \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
@@ -1364,14 +1279,13 @@
" .addEntity(\"cat\", Cat.class)\n"
".list()]]>"
msgstr ""
-"List cats = session.createSQLQuery(\n"
+"<![CDATA[List cats = session.createSQLQuery(\n"
" \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
" \"{cat}.MATE AS {cat.mate}, {cat}.SUBCLASS AS {cat.class}, ... \" "
"+\n"
-" \"FROM CAT {cat} WHERE ROWNUM<10\",\n"
-" \"cat\",\n"
-" Cat.class\n"
-").list()"
+" \"FROM CAT {cat} WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list()]]>"
#. Tag: para
#: session_api.xml:496
@@ -1419,16 +1333,17 @@
#. Tag: programlisting
#: session_api.xml:520
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long"
"(69) );\n"
"cat.setName(\"PK\");\n"
"sess.flush(); // changes to cat are automatically detected and persisted]]>"
msgstr ""
-"DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long(69) );\n"
+"<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long"
+"(69) );\n"
"cat.setName(\"PK\");\n"
-"sess.flush(); // changes to cat are automatically detected and persisted"
+"sess.flush(); // changes to cat are automatically detected and persisted]]>"
#. Tag: para
#: session_api.xml:522
@@ -1509,7 +1424,7 @@
#. Tag: programlisting
#: session_api.xml:561
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
@@ -1523,7 +1438,7 @@
"secondSession.update(cat); // update cat\n"
"secondSession.update(mate); // update mate]]>"
msgstr ""
-"// in the first session\n"
+"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
"Cat potentialMate = new Cat();\n"
"firstSession.save(potentialMate);\n"
@@ -1533,7 +1448,7 @@
"\n"
"// later, in a new session\n"
"secondSession.update(cat); // update cat\n"
-"secondSession.update(mate); // update mate"
+"secondSession.update(mate); // update mate]]>"
#. Tag: para
#: session_api.xml:563
@@ -1598,7 +1513,7 @@
#. Tag: programlisting
#: session_api.xml:590
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//just reassociate:\n"
"sess.lock(fritz, LockMode.NONE);\n"
@@ -1607,12 +1522,12 @@
"//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
"sess.lock(pk, LockMode.UPGRADE);]]>"
msgstr ""
-"//just reassociate:\n"
+"<![CDATA[//just reassociate:\n"
"sess.lock(fritz, LockMode.NONE);\n"
"//do a version check, then reassociate:\n"
"sess.lock(izi, LockMode.READ);\n"
"//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
-"sess.lock(pk, LockMode.UPGRADE);"
+"sess.lock(pk, LockMode.UPGRADE);]]>"
#. Tag: para
#: session_api.xml:592
@@ -1661,7 +1576,7 @@
#. Tag: programlisting
#: session_api.xml:615
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
@@ -1676,7 +1591,7 @@
"secondSession.saveOrUpdate(mate); // save the new instance (mate has a null "
"id)]]>"
msgstr ""
-"// in the first session\n"
+"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
"\n"
"// in a higher tier of the application\n"
@@ -1687,7 +1602,7 @@
"secondSession.saveOrUpdate(cat); // update existing state (cat has a non-"
"null id)\n"
"secondSession.saveOrUpdate(mate); // save the new instance (mate has a null "
-"id)"
+"id)]]>"
#. Tag: para
#: session_api.xml:617
@@ -1809,8 +1724,7 @@
#: session_api.xml:695
#, no-c-format
msgid "otherwise <literal>update()</literal> the object"
-msgstr ""
-"de otra manera actualice el objeto llamando a <literal>update()</literal>"
+msgstr "de otra manera actualice el objeto llamando a <literal>update()</literal>"
#. Tag: para
#: session_api.xml:701
@@ -1877,9 +1791,9 @@
#. Tag: programlisting
#: session_api.xml:744
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[sess.delete(cat);]]>"
-msgstr "sess.delete(cat);"
+msgstr "<![CDATA[sess.delete(cat);]]>"
#. Tag: para
#: session_api.xml:746
@@ -1916,7 +1830,7 @@
#. Tag: programlisting
#: session_api.xml:765
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//retrieve a cat from one database\n"
"Session session1 = factory1.openSession();\n"
@@ -1932,7 +1846,7 @@
"tx2.commit();\n"
"session2.close();]]>"
msgstr ""
-"//retrieve a cat from one database\n"
+"<![CDATA[//retrieve a cat from one database\n"
"Session session1 = factory1.openSession();\n"
"Transaction tx1 = session1.beginTransaction();\n"
"Cat cat = session1.get(Cat.class, catId);\n"
@@ -1944,7 +1858,7 @@
"Transaction tx2 = session2.beginTransaction();\n"
"session2.replicate(cat, ReplicationMode.LATEST_VERSION);\n"
"tx2.commit();\n"
-"session2.close();"
+"session2.close();]]>"
#. Tag: para
#: session_api.xml:767
@@ -2083,8 +1997,7 @@
#: session_api.xml:858
#, no-c-format
msgid "all collection element deletions, updates and insertions"
-msgstr ""
-"todos los borrados, actualizaciones e inserciones de elementos de colección"
+msgstr "todos los borrados, actualizaciones e inserciones de elementos de colección"
#. Tag: para
#: session_api.xml:863
@@ -2155,7 +2068,7 @@
#. Tag: programlisting
#: session_api.xml:898
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[sess = sf.openSession();\n"
"Transaction tx = sess.beginTransaction();\n"
@@ -2172,7 +2085,7 @@
"tx.commit(); // flush occurs\n"
"sess.close();]]>"
msgstr ""
-"sess = sf.openSession();\n"
+"<![CDATA[sess = sf.openSession();\n"
"Transaction tx = sess.beginTransaction();\n"
"sess.setFlushMode(FlushMode.COMMIT); // allow queries to return stale state\n"
"\n"
@@ -2185,7 +2098,7 @@
"// change to izi is not flushed!\n"
"...\n"
"tx.commit(); // flush occurs\n"
-"sess.close();"
+"sess.close();]]>"
#. Tag: para
#: session_api.xml:900
@@ -2285,9 +2198,9 @@
#. Tag: programlisting
#: session_api.xml:946
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
-msgstr "<one-to-one name=\"person\" cascade=\"persist\"/>"
+msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
#. Tag: para
#: session_api.xml:948
@@ -2297,10 +2210,9 @@
#. Tag: programlisting
#: session_api.xml:952
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
-msgstr "<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>"
+#, no-c-format
+msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
+msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
#. Tag: para
#: session_api.xml:954
@@ -2461,8 +2373,7 @@
msgid ""
"If a parent is deleted, all children are passed to <literal>delete()</"
"literal>"
-msgstr ""
-"Si se borra un padre, se pasan todos los hijos a <literal>delete()</literal>"
+msgstr "Si se borra un padre, se pasan todos los hijos a <literal>delete()</literal>"
#. Tag: para
#: session_api.xml:1042
@@ -2538,7 +2449,7 @@
#. Tag: programlisting
#: session_api.xml:1079
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Cat fritz = ......;\n"
"ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
@@ -2556,7 +2467,7 @@
" }\n"
"}]]>"
msgstr ""
-"Cat fritz = ......;\n"
+"<![CDATA[Cat fritz = ......;\n"
"ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
"\n"
"Object[] propertyValues = catMeta.getPropertyValues(fritz);\n"
@@ -2565,9 +2476,10 @@
"\n"
"// get a Map of all properties which are not collections or associations\n"
"Map namedValues = new HashMap();\n"
-"for ( int i=0; i<propertyNames.length; i++ ) {\n"
-" if ( !propertyTypes[i].isEntityType() && !propertyTypes[i]."
+"for ( int i=0; i<propertyNames.length; i++ ) {\n"
+" if ( !propertyTypes[i].isEntityType() && !propertyTypes[i]."
"isCollectionType() ) {\n"
" namedValues.put( propertyNames[i], propertyValues[i] );\n"
" }\n"
-"}"
+"}]]>"
+
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/toolset_guide.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/toolset_guide.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/toolset_guide.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,118 +1,33 @@
-# translation of Collection_Mapping.po to
+# translation of toolset_guide.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: toolset_guide\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 07:58+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: toolset_guide.xml:29
#, no-c-format
msgid "Toolset Guide"
-msgstr "Manual del Conjunto de Herramientas"
+msgstr "Manual del conjunto de herramientas"
#. Tag: para
#: toolset_guide.xml:31
@@ -247,8 +162,7 @@
msgid ""
"First, you must customize your mapping files to improve the generated "
"schema. The next section covers schema customization."
-msgstr ""
-"Primero, personalice sus archivos de mapeo para mejorar el esquema generado."
+msgstr "Primero, personalice sus archivos de mapeo para mejorar el esquema generado."
#. Tag: title
#: toolset_guide.xml:99
@@ -272,15 +186,15 @@
#. Tag: programlisting
#: toolset_guide.xml:108
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[<property name=\"zip\" length=\"5\"/>]]>"
-msgstr "<property name=\"zip\" length=\"5\"/>"
+msgstr "<![CDATA[<property name=\"zip\" length=\"5\"/>]]>"
#. Tag: programlisting
#: toolset_guide.xml:109
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[<property name=\"balance\" precision=\"12\" scale=\"2\"/>]]>"
-msgstr "<property name=\"balance\" precision=\"12\" scale=\"2\"/>"
+msgstr "<![CDATA[<property name=\"balance\" precision=\"12\" scale=\"2\"/>]]>"
#. Tag: para
#: toolset_guide.xml:111
@@ -298,20 +212,19 @@
#. Tag: programlisting
#: toolset_guide.xml:117
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
-msgstr "<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>"
+#, no-c-format
+msgid "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
+msgstr "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
#. Tag: programlisting
#: toolset_guide.xml:119
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" "
"unique=\"true\"/>]]>"
msgstr ""
-"<element column=\"serialNumber\" type=\"long\" not-null=\"true\" unique="
-"\"true\"/>"
+"<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" "
+"unique=\"true\"/>]]>"
#. Tag: para
#: toolset_guide.xml:121
@@ -331,15 +244,15 @@
#. Tag: programlisting
#: toolset_guide.xml:129
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key="
"\"OrgEmployeeId\"/>\n"
"<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"
msgstr ""
-"<many-to-one name=\"org\" column=\"orgId\" unique-key=\"OrgEmployeeId\"/"
-">\n"
-"<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>"
+"<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key="
+"\"OrgEmployeeId\"/>\n"
+"<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"
#. Tag: para
#: toolset_guide.xml:131
@@ -356,13 +269,13 @@
#. Tag: programlisting
#: toolset_guide.xml:137
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n"
"<property name=\"firstName\" index=\"CustName\"/>]]>"
msgstr ""
-"<property name=\"lastName\" index=\"CustName\"/>\n"
-"<property name=\"firstName\" index=\"CustName\"/>"
+"<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n"
+"<property name=\"firstName\" index=\"CustName\"/>]]>"
#. Tag: para
#: toolset_guide.xml:139
@@ -376,12 +289,13 @@
#. Tag: programlisting
#: toolset_guide.xml:144
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"
">]]>"
msgstr ""
-"<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/>"
+"<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"
+">]]>"
#. Tag: para
#: toolset_guide.xml:146
@@ -396,7 +310,7 @@
#. Tag: programlisting
#: toolset_guide.xml:151
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
" <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/"
@@ -406,13 +320,13 @@
" <column name=\"initial\"/>\n"
"</property>]]>"
msgstr ""
-"<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
-" <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30"
-"\"/>\n"
-" <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20"
-"\"/>\n"
-" <column name=\"initial\"/>\n"
-"</property>"
+"<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
+" <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/"
+">\n"
+" <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20\"/"
+">\n"
+" <column name=\"initial\"/>\n"
+"</property>]]>"
#. Tag: para
#: toolset_guide.xml:153
@@ -428,27 +342,27 @@
#. Tag: programlisting
#: toolset_guide.xml:159
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
" <column name=\"credits\" default=\"10\"/>\n"
"</property>]]>"
msgstr ""
-"<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
-" <column name=\"credits\" default=\"10\"/>\n"
-"</property>"
+"<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
+" <column name=\"credits\" default=\"10\"/>\n"
+"</property>]]>"
#. Tag: programlisting
#: toolset_guide.xml:161
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n"
" <column name=\"version\" default=\"0\"/>\n"
"</property>]]>"
msgstr ""
-"<version name=\"version\" type=\"integer\" insert=\"false\">\n"
-" <column name=\"version\" default=\"0\"/>\n"
-"</property>"
+"<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n"
+" <column name=\"version\" default=\"0\"/>\n"
+"</property>]]>"
#. Tag: para
#: toolset_guide.xml:163
@@ -462,15 +376,15 @@
#. Tag: programlisting
#: toolset_guide.xml:168
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"balance\" type=\"float\">\n"
" <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
"</property>]]>"
msgstr ""
-"<property name=\"balance\" type=\"float\">\n"
-" <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
-"</property>"
+"<![CDATA[<property name=\"balance\" type=\"float\">\n"
+" <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
+"</property>]]>"
#. Tag: para
#: toolset_guide.xml:170
@@ -484,29 +398,29 @@
#. Tag: programlisting
#: toolset_guide.xml:174
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"foo\" type=\"integer\">\n"
" <column name=\"foo\" check=\"foo > 10\"/>\n"
"</property>]]>"
msgstr ""
-"<property name=\"foo\" type=\"integer\">\n"
-" <column name=\"foo\" check=\"foo > 10\"/>\n"
-"</property>"
+"<![CDATA[<property name=\"foo\" type=\"integer\">\n"
+" <column name=\"foo\" check=\"foo > 10\"/>\n"
+"</property>]]>"
#. Tag: programlisting
#: toolset_guide.xml:176
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
" ...\n"
" <property name=\"bar\" type=\"float\"/>\n"
"</class>]]>"
msgstr ""
-"<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
+"<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
" ...\n"
-" <property name=\"bar\" type=\"float\"/>\n"
-"</class>"
+" <property name=\"bar\" type=\"float\"/>\n"
+"</class>]]>"
#. Tag: para
#: toolset_guide.xml:179
@@ -738,21 +652,21 @@
#. Tag: programlisting
#: toolset_guide.xml:273
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"Customer\" table=\"CurCust\">\n"
" <comment>Current customers only</comment>\n"
" ...\n"
"</class>]]>"
msgstr ""
-"<class name=\"Customer\" table=\"CurCust\">\n"
-" <comment>Current customers only</comment>\n"
+"<![CDATA[<class name=\"Customer\" table=\"CurCust\">\n"
+" <comment>Current customers only</comment>\n"
" ...\n"
-"</class>"
+"</class>]]>"
#. Tag: programlisting
#: toolset_guide.xml:275
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<property name=\"balance\">\n"
" <column name=\"bal\">\n"
@@ -760,11 +674,11 @@
" </column>\n"
"</property>]]>"
msgstr ""
-"<property name=\"balance\">\n"
-" <column name=\"bal\">\n"
-" <comment>Balance in USD</comment>\n"
-" </column>\n"
-"</property>"
+"<![CDATA[<property name=\"balance\">\n"
+" <column name=\"bal\">\n"
+" <comment>Balance in USD</comment>\n"
+" </column>\n"
+"</property>]]>"
#. Tag: para
#: toolset_guide.xml:277
@@ -876,9 +790,9 @@
#. Tag: entry
#: toolset_guide.xml:326
-#, fuzzy, no-c-format
+#, no-c-format
msgid "do not export to the database"
-msgstr "no exportar a la base de datos"
+msgstr "no exportar a la base de datos "
#. Tag: literal
#: toolset_guide.xml:329
@@ -956,18 +870,17 @@
#: toolset_guide.xml:356
#, fuzzy, no-c-format
msgid "You can even embed <literal>SchemaExport</literal> in your application:"
-msgstr ""
-"Inclusive puede incluir <literal>SchemaExport</literal> en su aplicación:"
+msgstr "Inclusive puede incluir <literal>SchemaExport</literal> en su aplicación:"
#. Tag: programlisting
#: toolset_guide.xml:360
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Configuration cfg = ....;\n"
"new SchemaExport(cfg).create(false, true);]]>"
msgstr ""
-"Configuration cfg = ....;\n"
-"new SchemaExport(cfg).create(false, true);"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaExport(cfg).create(false, true);]]>"
#. Tag: title
#: toolset_guide.xml:365
@@ -977,9 +890,9 @@
#. Tag: para
#: toolset_guide.xml:367
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Database properties can be specified:"
-msgstr "Las propiedades de base de datos se pueden especificar"
+msgstr "Las propiedades de la base de datos se pueden especificar:"
#. Tag: para
#: toolset_guide.xml:373
@@ -1001,8 +914,7 @@
#: toolset_guide.xml:379
#, no-c-format
msgid "in a named properties file with <literal>--properties</literal>"
-msgstr ""
-"en un archivo de propiedades nombrado con <literal>--properties</literal>"
+msgstr "en un archivo de propiedades nombrado con <literal>--properties</literal>"
#. Tag: para
#: toolset_guide.xml:383
@@ -1091,15 +1003,14 @@
#. Tag: para
#: toolset_guide.xml:428
#, no-c-format
-msgid ""
-"You can call <literal>SchemaExport</literal> from your Ant build script:"
+msgid "You can call <literal>SchemaExport</literal> from your Ant build script:"
msgstr ""
"Puede llamar a <literal>SchemaExport</literal> desde su script de "
"construcción de Ant:"
#. Tag: programlisting
#: toolset_guide.xml:432
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<target name=\"schemaexport\">\n"
" <taskdef name=\"schemaexport\"\n"
@@ -1119,23 +1030,23 @@
" </schemaexport>\n"
"</target>]]>"
msgstr ""
-"<target name=\"schemaexport\">\n"
-" <taskdef name=\"schemaexport\"\n"
+"<![CDATA[<target name=\"schemaexport\">\n"
+" <taskdef name=\"schemaexport\"\n"
" classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"\n"
-" classpathref=\"class.path\"/>\n"
+" classpathref=\"class.path\"/>\n"
" \n"
-" <schemaexport\n"
+" <schemaexport\n"
" properties=\"hibernate.properties\"\n"
" quiet=\"no\"\n"
" text=\"no\"\n"
" drop=\"no\"\n"
" delimiter=\";\"\n"
-" output=\"schema-export.sql\">\n"
-" <fileset dir=\"src\">\n"
-" <include name=\"**/*.hbm.xml\"/>\n"
-" </fileset>\n"
-" </schemaexport>\n"
-"</target>"
+" output=\"schema-export.sql\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemaexport>\n"
+"</target>]]>"
#. Tag: title
#: toolset_guide.xml:437
@@ -1176,9 +1087,9 @@
#. Tag: entry
#: toolset_guide.xml:468
-#, fuzzy, no-c-format
+#, no-c-format
msgid "do not export the script to the database"
-msgstr "no exporte el script a la base de datos"
+msgstr "no exporte el script a la base de datos "
#. Tag: entry
#: toolset_guide.xml:480 toolset_guide.xml:541
@@ -1188,19 +1099,19 @@
#. Tag: para
#: toolset_guide.xml:486
-#, fuzzy, no-c-format
+#, no-c-format
msgid "You can embed <literal>SchemaUpdate</literal> in your application:"
-msgstr "Puede incluir <literal>SchemaUpdate</literal> en su aplicación:"
+msgstr "Puede incluir <literal>SchemaUpdate</literal> en su aplicación: "
#. Tag: programlisting
#: toolset_guide.xml:490
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Configuration cfg = ....;\n"
"new SchemaUpdate(cfg).execute(false);]]>"
msgstr ""
-"Configuration cfg = ....;\n"
-"new SchemaUpdate(cfg).execute(false);"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaUpdate(cfg).execute(false);]]>"
#. Tag: title
#: toolset_guide.xml:495
@@ -1216,7 +1127,7 @@
#. Tag: programlisting
#: toolset_guide.xml:501
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<target name=\"schemaupdate\">\n"
" <taskdef name=\"schemaupdate\"\n"
@@ -1232,19 +1143,19 @@
" </schemaupdate>\n"
"</target>]]>"
msgstr ""
-"<target name=\"schemaupdate\">\n"
-" <taskdef name=\"schemaupdate\"\n"
+"<![CDATA[<target name=\"schemaupdate\">\n"
+" <taskdef name=\"schemaupdate\"\n"
" classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"\n"
-" classpathref=\"class.path\"/>\n"
+" classpathref=\"class.path\"/>\n"
" \n"
-" <schemaupdate\n"
+" <schemaupdate\n"
" properties=\"hibernate.properties\"\n"
-" quiet=\"no\">\n"
-" <fileset dir=\"src\">\n"
-" <include name=\"**/*.hbm.xml\"/>\n"
-" </fileset>\n"
-" </schemaupdate>\n"
-"</target>"
+" quiet=\"no\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemaupdate>\n"
+"</target>]]>"
#. Tag: title
#: toolset_guide.xml:506
@@ -1298,18 +1209,17 @@
#: toolset_guide.xml:547
#, fuzzy, no-c-format
msgid "You can embed <literal>SchemaValidator</literal> in your application:"
-msgstr ""
-"U.d. puede incluir <literal>SchemaValidator</literal> en su aplicación:"
+msgstr "U.d. puede incluir <literal>SchemaValidator</literal> en su aplicación:"
#. Tag: programlisting
#: toolset_guide.xml:551
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Configuration cfg = ....;\n"
"new SchemaValidator(cfg).validate();]]>"
msgstr ""
-"Configuration cfg = ....;\n"
-"new SchemaValidator(cfg).validate();"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaValidator(cfg).validate();]]>"
#. Tag: title
#: toolset_guide.xml:556
@@ -1325,7 +1235,7 @@
#. Tag: programlisting
#: toolset_guide.xml:562
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<target name=\"schemavalidate\">\n"
" <taskdef name=\"schemavalidator\"\n"
@@ -1340,15 +1250,16 @@
" </schemavalidator>\n"
"</target>]]>"
msgstr ""
-"<target name=\"schemavalidate\">\n"
-" <taskdef name=\"schemavalidator\"\n"
+"<![CDATA[<target name=\"schemavalidate\">\n"
+" <taskdef name=\"schemavalidator\"\n"
" classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"\n"
-" classpathref=\"class.path\"/>\n"
+" classpathref=\"class.path\"/>\n"
" \n"
-" <schemavalidator\n"
-" properties=\"hibernate.properties\">\n"
-" <fileset dir=\"src\">\n"
-" <include name=\"**/*.hbm.xml\"/>\n"
-" </fileset>\n"
-" </schemaupdate>\n"
-"</target>"
+" <schemavalidator\n"
+" properties=\"hibernate.properties\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemavalidator>\n"
+"</target>]]>"
+
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/transactions.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/transactions.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/transactions.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,118 +1,33 @@
-# translation of Collection_Mapping.po to
+# translation of transactions.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: transactions\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 08:04+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: transactions.xml:29
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Transactions and Concurrency"
-msgstr "Transacciones y Concurrencia"
+msgstr "Transacciones y concurrencia"
#. Tag: para
#: transactions.xml:31
@@ -890,8 +805,7 @@
#. Tag: para
#: transactions.xml:417
#, fuzzy, no-c-format
-msgid ""
-"Ending a <literal>Session</literal> usually involves four distinct phases:"
+msgid "Ending a <literal>Session</literal> usually involves four distinct phases:"
msgstr ""
"Usualmente, finalizar una <literal>Session</literal> implica cuatro fases "
"distintas:"
@@ -955,7 +869,7 @@
#. Tag: programlisting
#: transactions.xml:460
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// Non-managed environment idiom\n"
"Session sess = factory.openSession();\n"
@@ -976,7 +890,7 @@
" sess.close();\n"
"}]]>"
msgstr ""
-"// Non-managed environment idiom\n"
+"<![CDATA[// Non-managed environment idiom\n"
"Session sess = factory.openSession();\n"
"Transaction tx = null;\n"
"try {\n"
@@ -993,7 +907,7 @@
"}\n"
"finally {\n"
" sess.close();\n"
-"}"
+"}]]>"
#. Tag: para
#: transactions.xml:462
@@ -1028,7 +942,7 @@
#. Tag: programlisting
#: transactions.xml:476
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// Non-managed environment idiom with getCurrentSession()\n"
"try {\n"
@@ -1044,7 +958,7 @@
" throw e; // or display error message\n"
"}]]>"
msgstr ""
-"// Non-managed environment idiom with getCurrentSession()\n"
+"<![CDATA[// Non-managed environment idiom with getCurrentSession()\n"
"try {\n"
" factory.getCurrentSession().beginTransaction();\n"
"\n"
@@ -1056,7 +970,7 @@
"catch (RuntimeException e) {\n"
" factory.getCurrentSession().getTransaction().rollback();\n"
" throw e; // or display error message\n"
-"}"
+"}]]>"
#. Tag: para
#: transactions.xml:478
@@ -1133,7 +1047,7 @@
#. Tag: programlisting
#: transactions.xml:512
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// BMT idiom\n"
"Session sess = factory.openSession();\n"
@@ -1154,7 +1068,7 @@
" sess.close();\n"
"}]]>"
msgstr ""
-"// BMT idiom\n"
+"<![CDATA[// BMT idiom\n"
"Session sess = factory.openSession();\n"
"Transaction tx = null;\n"
"try {\n"
@@ -1171,7 +1085,7 @@
"}\n"
"finally {\n"
" sess.close();\n"
-"}"
+"}]]>"
#. Tag: para
#: transactions.xml:514
@@ -1188,7 +1102,7 @@
#. Tag: programlisting
#: transactions.xml:520
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// BMT idiom with getCurrentSession()\n"
"try {\n"
@@ -1208,7 +1122,7 @@
" throw e; // or display error message\n"
"}]]>"
msgstr ""
-"// BMT idiom with getCurrentSession()\n"
+"<![CDATA[// BMT idiom with getCurrentSession()\n"
"try {\n"
" UserTransaction tx = (UserTransaction)new InitialContext()\n"
" .lookup(\"java:comp/UserTransaction\");\n"
@@ -1224,7 +1138,7 @@
"catch (RuntimeException e) {\n"
" tx.rollback();\n"
" throw e; // or display error message\n"
-"}"
+"}]]>"
#. Tag: para
#: transactions.xml:522
@@ -1239,7 +1153,7 @@
#. Tag: programlisting
#: transactions.xml:527
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// CMT idiom\n"
" Session sess = factory.getCurrentSession();\n"
@@ -1248,11 +1162,12 @@
" ...\n"
"]]>"
msgstr ""
-"// CMT idiom\n"
+"<![CDATA[// CMT idiom\n"
" Session sess = factory.getCurrentSession();\n"
"\n"
" // do some work\n"
-" ..."
+" ...\n"
+"]]>"
#. Tag: para
#: transactions.xml:529
@@ -1504,7 +1419,7 @@
#. Tag: programlisting
#: transactions.xml:652
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[\n"
"Session sess = factory.openSession();\n"
@@ -1526,6 +1441,7 @@
" sess.close();\n"
"}]]>"
msgstr ""
+"<![CDATA[\n"
"Session sess = factory.openSession();\n"
"try {\n"
" //set transaction timeout to 3 seconds\n"
@@ -1543,7 +1459,7 @@
"}\n"
"finally {\n"
" sess.close();\n"
-"}"
+"}]]>"
#. Tag: para
#: transactions.xml:654
@@ -1614,7 +1530,7 @@
#. Tag: programlisting
#: transactions.xml:688
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// foo is an instance loaded by a previous Session\n"
"session = factory.openSession();\n"
@@ -1629,17 +1545,18 @@
"t.commit();\n"
"session.close();]]>"
msgstr ""
-"// foo is an instance loaded by a previous Session\n"
+"<![CDATA[// foo is an instance loaded by a previous Session\n"
"session = factory.openSession();\n"
"Transaction t = session.beginTransaction();\n"
"\n"
"int oldVersion = foo.getVersion();\n"
"session.load( foo, foo.getKey() ); // load the current state\n"
-"if ( oldVersion!=foo.getVersion ) throw new StaleObjectStateException();\n"
+"if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException"
+"();\n"
"foo.setProperty(\"bar\");\n"
"\n"
"t.commit();\n"
-"session.close();"
+"session.close();]]>"
#. Tag: para
#: transactions.xml:690
@@ -1736,7 +1653,7 @@
#. Tag: programlisting
#: transactions.xml:735
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// foo is an instance loaded earlier by the old session\n"
"Transaction t = session.beginTransaction(); // Obtain a new JDBC connection, "
@@ -1748,7 +1665,7 @@
"t.commit(); // Also return JDBC connection\n"
"session.close(); // Only for last transaction in conversation]]>"
msgstr ""
-"// foo is an instance loaded earlier by the old session\n"
+"<![CDATA[// foo is an instance loaded earlier by the old session\n"
"Transaction t = session.beginTransaction(); // Obtain a new JDBC connection, "
"start transaction\n"
"\n"
@@ -1756,7 +1673,7 @@
"\n"
"session.flush(); // Only for last transaction in conversation\n"
"t.commit(); // Also return JDBC connection\n"
-"session.close(); // Only for last transaction in conversation"
+"session.close(); // Only for last transaction in conversation]]>"
#. Tag: para
#: transactions.xml:736
@@ -1820,7 +1737,7 @@
#: transactions.xml:762
#, no-c-format
msgid "Note"
-msgstr ""
+msgstr "Nota"
#. Tag: para
#: transactions.xml:763
@@ -1895,7 +1812,7 @@
#. Tag: programlisting
#: transactions.xml:797
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// foo is an instance loaded by a previous Session\n"
"foo.setProperty(\"bar\");\n"
@@ -1906,14 +1823,14 @@
"t.commit();\n"
"session.close();]]>"
msgstr ""
-"// foo is an instance loaded by a previous Session\n"
+"<![CDATA[// foo is an instance loaded by a previous Session\n"
"foo.setProperty(\"bar\");\n"
"session = factory.openSession();\n"
"Transaction t = session.beginTransaction();\n"
"session.saveOrUpdate(foo); // Use merge() if \"foo\" might have been loaded "
"already\n"
"t.commit();\n"
-"session.close();"
+"session.close();]]>"
#. Tag: para
#: transactions.xml:799
@@ -2037,9 +1954,9 @@
#. Tag: title
#: transactions.xml:858
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Pessimistic locking"
-msgstr "Bloqueo pesimista"
+msgstr "Bloqueo pesimista "
#. Tag: para
#: transactions.xml:860
@@ -2144,8 +2061,7 @@
#. Tag: para
#: transactions.xml:913
#, no-c-format
-msgid ""
-"The \"explicit user request\" is expressed in one of the following ways:"
+msgid "The \"explicit user request\" is expressed in one of the following ways:"
msgstr ""
"La \"petición explícita del usuario\" se expresa en una de las siguientes "
"formas:"
@@ -2221,9 +2137,9 @@
#. Tag: title
#: transactions.xml:960
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Connection release modes"
-msgstr "Modos de Liberación de la Conexión"
+msgstr "Modos de liberación de la conexión"
#. Tag: para
#: transactions.xml:962
@@ -2374,3 +2290,4 @@
"donde podemos re-adquirir la misma conexión JDBC subyacente cada vez que "
"llamamos <literal>ConnectionProvider.getConnection()</literal> o en entornos "
"auto-commit, en donde no importa si recibimos la misma conexión."
+
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/tutorial.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/tutorial.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/tutorial.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,118 +1,33 @@
-# translation of Collection_Mapping.po to
+# translation of tutorial.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: tutorial\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 08:09+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: tutorial.xml:31
#, no-c-format
msgid "Tutorial"
-msgstr ""
+msgstr "Tutorial"
#. Tag: para
#: tutorial.xml:33
@@ -146,7 +61,7 @@
#: tutorial.xml:59
#, no-c-format
msgid "Part 1 - The first Hibernate Application"
-msgstr "Parte 1 - La primera Aplicación Hibernate"
+msgstr "Parte 1 - La primera aplicación Hibernate"
#. Tag: para
#: tutorial.xml:61
@@ -173,7 +88,7 @@
#: tutorial.xml:76
#, no-c-format
msgid "Setup"
-msgstr ""
+msgstr "Configuración"
#. Tag: para
#: tutorial.xml:78
@@ -250,6 +165,53 @@
"\n"
"</project>]]>"
msgstr ""
+"<![CDATA[<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\n"
+" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven."
+"apache.org/xsd/maven-4.0.0.xsd\">\n"
+"\n"
+" <modelVersion>4.0.0</modelVersion>\n"
+"\n"
+" <groupId>org.hibernate.tutorials</groupId>\n"
+" <artifactId>hibernate-tutorial</artifactId>\n"
+" <version>1.0.0-SNAPSHOT</version>\n"
+" <name>First Hibernate Tutorial</name>\n"
+"\n"
+" <build>\n"
+" <!-- we dont want the version to be part of the generated war file "
+"name -->\n"
+" <finalName>${artifactId}</finalName>\n"
+" </build>\n"
+"\n"
+" <dependencies>\n"
+" <dependency>\n"
+" <groupId>org.hibernate</groupId>\n"
+" <artifactId>hibernate-core</artifactId>\n"
+" </dependency>\n"
+"\n"
+" <!-- Because this is a web app, we also have a dependency on the "
+"servlet api. -->\n"
+" <dependency>\n"
+" <groupId>javax.servlet</groupId>\n"
+" <artifactId>servlet-api</artifactId>\n"
+" </dependency>\n"
+"\n"
+" <!-- Hibernate uses slf4j for logging, for our purposes here use the "
+"simple backend -->\n"
+" <dependency>\n"
+" <groupId>org.slf4j</groupId>\n"
+" <artifactId>slf4j-simple</artifactId>\n"
+" </dependency>\n"
+"\n"
+" <!-- Hibernate gives you a choice of bytecode providers between "
+"cglib and javassist -->\n"
+" <dependency>\n"
+" <groupId>javassist</groupId>\n"
+" <artifactId>javassist</artifactId>\n"
+" </dependency>\n"
+" </dependencies>\n"
+"\n"
+"</project>]]>"
#. Tag: para
#: tutorial.xml:97
@@ -273,8 +235,7 @@
#. Tag: para
#: tutorial.xml:114
#, no-c-format
-msgid ""
-"Save this file as <filename>pom.xml</filename> in the project root directory."
+msgid "Save this file as <filename>pom.xml</filename> in the project root directory."
msgstr ""
#. Tag: title
@@ -295,7 +256,7 @@
#. Tag: programlisting
#: tutorial.xml:128
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[package org.hibernate.tutorial.domain;\n"
"\n"
@@ -334,7 +295,7 @@
" }\n"
"}]]>"
msgstr ""
-"package events;\n"
+"<![CDATA[package org.hibernate.tutorial.domain;\n"
"\n"
"import java.util.Date;\n"
"\n"
@@ -369,7 +330,7 @@
" public void setTitle(String title) {\n"
" this.title = title;\n"
" }\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:130
@@ -472,7 +433,7 @@
#. Tag: programlisting
#: tutorial.xml:182
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"?>\n"
"<!DOCTYPE hibernate-mapping PUBLIC\n"
@@ -483,14 +444,14 @@
"[...]\n"
"</hibernate-mapping>]]>"
msgstr ""
-"<?xml version=\"1.0\"?>\n"
-"<!DOCTYPE hibernate-mapping PUBLIC\n"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
-" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
"\n"
-"<hibernate-mapping>\n"
+"<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"[...]\n"
-"</hibernate-mapping>"
+"</hibernate-mapping>]]>"
#. Tag: para
#: tutorial.xml:184
@@ -542,7 +503,7 @@
#. Tag: programlisting
#: tutorial.xml:210
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
@@ -552,13 +513,13 @@
"\n"
"</hibernate-mapping>]]>"
msgstr ""
-"<hibernate-mapping>\n"
+"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
-" <class name=\"events.Event\" table=\"EVENTS\">\n"
+" <class name=\"Event\" table=\"EVENTS\">\n"
"\n"
-" </class>\n"
+" </class>\n"
"\n"
-"</hibernate-mapping>"
+"</hibernate-mapping>]]>"
#. Tag: para
#: tutorial.xml:212
@@ -581,7 +542,7 @@
#. Tag: programlisting
#: tutorial.xml:222
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
@@ -593,15 +554,15 @@
"\n"
"</hibernate-mapping>]]>"
msgstr ""
-"<hibernate-mapping>\n"
+"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
-" <class name=\"events.Event\" table=\"EVENTS\">\n"
-" <id name=\"id\" column=\"EVENT_ID\">\n"
-" <generator class=\"native\"/>\n"
-" </id>\n"
-" </class>\n"
+" <class name=\"Event\" table=\"EVENTS\">\n"
+" <id name=\"id\" column=\"EVENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" </class>\n"
"\n"
-"</hibernate-mapping>"
+"</hibernate-mapping>]]>"
#. Tag: para
#: tutorial.xml:224
@@ -649,7 +610,7 @@
#. Tag: programlisting
#: tutorial.xml:258
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[\n"
"<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
@@ -664,18 +625,18 @@
"\n"
"</hibernate-mapping>]]>"
msgstr ""
-"<hibernate-mapping>\n"
+"<![CDATA[\n"
+"<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
-" <class name=\"events.Event\" table=\"EVENTS\">\n"
-" <id name=\"id\" column=\"EVENT_ID\">\n"
-" <generator class=\"native\"/>\n"
-" </id>\n"
-" <property name=\"date\" type=\"timestamp\" column=\"EVENT_DATE\"/"
-">\n"
-" <property name=\"title\"/>\n"
-" </class>\n"
+" <class name=\"Event\" table=\"EVENTS\">\n"
+" <id name=\"id\" column=\"EVENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"date\" type=\"timestamp\" column=\"EVENT_DATE\"/>\n"
+" <property name=\"title\"/>\n"
+" </class>\n"
"\n"
-"</hibernate-mapping>"
+"</hibernate-mapping>]]>"
#. Tag: para
#: tutorial.xml:260
@@ -826,8 +787,7 @@
#. Tag: para
#: tutorial.xml:348
#, fuzzy, no-c-format
-msgid ""
-"The built-in Hibernate connection pool is not intended for production use."
+msgid "The built-in Hibernate connection pool is not intended for production use."
msgstr "Hashtable (no fue pensado para la utilización en producción)"
#. Tag: para
@@ -847,7 +807,7 @@
#. Tag: programlisting
#: tutorial.xml:359
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<?xml version='1.0' encoding='utf-8'?>\n"
"<!DOCTYPE hibernate-configuration PUBLIC\n"
@@ -893,51 +853,49 @@
"\n"
"</hibernate-configuration>]]>"
msgstr ""
-"<?xml version='1.0' encoding='utf-8'?>\n"
-"<!DOCTYPE hibernate-configuration PUBLIC\n"
+"<![CDATA[<?xml version='1.0' encoding='utf-8'?>\n"
+"<!DOCTYPE hibernate-configuration PUBLIC\n"
" \"-//Hibernate/Hibernate Configuration DTD 3.0//EN\"\n"
" \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
-"\">\n"
+"\">\n"
"\n"
-"<hibernate-configuration>\n"
+"<hibernate-configuration>\n"
"\n"
-" <session-factory>\n"
+" <session-factory>\n"
"\n"
-" <!-- Database connection settings -->\n"
-" <property name=\"connection.driver_class\">org.hsqldb."
-"jdbcDriver</property>\n"
-" <property name=\"connection.url\">jdbc:hsqldb:hsql://"
-"localhost</property>\n"
-" <property name=\"connection.username\">sa</property>\n"
-" <property name=\"connection.password\"></property>\n"
+" <!-- Database connection settings -->\n"
+" <property name=\"connection.driver_class\">org.hsqldb.jdbcDriver</"
+"property>\n"
+" <property name=\"connection.url\">jdbc:hsqldb:hsql://localhost</"
+"property>\n"
+" <property name=\"connection.username\">sa</property>\n"
+" <property name=\"connection.password\"></property>\n"
"\n"
-" <!-- JDBC connection pool (use the built-in) -->\n"
-" <property name=\"connection.pool_size\">1</property>\n"
+" <!-- JDBC connection pool (use the built-in) -->\n"
+" <property name=\"connection.pool_size\">1</property>\n"
"\n"
-" <!-- SQL dialect -->\n"
-" <property name=\"dialect\">org.hibernate.dialect."
-"HSQLDialect</property>\n"
+" <!-- SQL dialect -->\n"
+" <property name=\"dialect\">org.hibernate.dialect.HSQLDialect</"
+"property>\n"
"\n"
-" <!-- Enable Hibernate's automatic session context management --"
-">\n"
-" <property name=\"current_session_context_class\">thread</"
-"property>\n"
+" <!-- Enable Hibernate's automatic session context management -->\n"
+" <property name=\"current_session_context_class\">thread</property>\n"
"\n"
-" <!-- Disable the second-level cache -->\n"
-" <property name=\"cache.provider_class\">org.hibernate.cache."
-"NoCacheProvider</property>\n"
+" <!-- Disable the second-level cache -->\n"
+" <property name=\"cache.provider_class\">org.hibernate.cache."
+"NoCacheProvider</property>\n"
"\n"
-" <!-- Echo all executed SQL to stdout -->\n"
-" <property name=\"show_sql\">true</property>\n"
+" <!-- Echo all executed SQL to stdout -->\n"
+" <property name=\"show_sql\">true</property>\n"
"\n"
-" <!-- Drop and re-create the database schema on startup -->\n"
-" <property name=\"hbm2ddl.auto\">create</property>\n"
+" <!-- Drop and re-create the database schema on startup -->\n"
+" <property name=\"hbm2ddl.auto\">update</property>\n"
"\n"
-" <mapping resource=\"events/Event.hbm.xml\"/>\n"
+" <mapping resource=\"org/hibernate/tutorial/domain/Event.hbm.xml\"/>\n"
"\n"
-" </session-factory>\n"
+" </session-factory>\n"
"\n"
-"</hibernate-configuration>"
+"</hibernate-configuration>]]>"
#. Tag: para
#: tutorial.xml:362
@@ -1012,9 +970,9 @@
#. Tag: title
#: tutorial.xml:402
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Building with Maven"
-msgstr "Construcción con Ant"
+msgstr "Construcción con Maven"
#. Tag: para
#: tutorial.xml:404
@@ -1056,6 +1014,29 @@
"[INFO] "
"------------------------------------------------------------------------]]>"
msgstr ""
+"<![CDATA[[hibernateTutorial]$ mvn compile\n"
+"[INFO] Scanning for projects...\n"
+"[INFO] "
+"------------------------------------------------------------------------\n"
+"[INFO] Building First Hibernate Tutorial\n"
+"[INFO] task-segment: [compile]\n"
+"[INFO] "
+"------------------------------------------------------------------------\n"
+"[INFO] [resources:resources]\n"
+"[INFO] Using default encoding to copy filtered resources.\n"
+"[INFO] [compiler:compile]\n"
+"[INFO] Compiling 1 source file to /home/steve/projects/sandbox/"
+"hibernateTutorial/target/classes\n"
+"[INFO] "
+"------------------------------------------------------------------------\n"
+"[INFO] BUILD SUCCESSFUL\n"
+"[INFO] "
+"------------------------------------------------------------------------\n"
+"[INFO] Total time: 2 seconds\n"
+"[INFO] Finished at: Tue Jun 09 12:25:25 CDT 2009\n"
+"[INFO] Final Memory: 5M/547M\n"
+"[INFO] "
+"------------------------------------------------------------------------]]>"
#. Tag: title
#: tutorial.xml:419
@@ -1102,7 +1083,7 @@
#. Tag: programlisting
#: tutorial.xml:441
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[package org.hibernate.tutorial.util;\n"
"\n"
@@ -1133,21 +1114,22 @@
"\n"
"}]]>"
msgstr ""
-"package util;\n"
+"<![CDATA[package org.hibernate.tutorial.util;\n"
"\n"
-"import org.hibernate.*;\n"
-"import org.hibernate.cfg.*;\n"
+"import org.hibernate.SessionFactory;\n"
+"import org.hibernate.cfg.Configuration;\n"
"\n"
"public class HibernateUtil {\n"
"\n"
-" private static final SessionFactory sessionFactory;\n"
+" private static final SessionFactory sessionFactory = buildSessionFactory"
+"();\n"
"\n"
-" static {\n"
+" private static SessionFactory buildSessionFactory() {\n"
" try {\n"
" // Create the SessionFactory from hibernate.cfg.xml\n"
-" sessionFactory = new Configuration().configure()."
-"buildSessionFactory();\n"
-" } catch (Throwable ex) {\n"
+" return new Configuration().configure().buildSessionFactory();\n"
+" }\n"
+" catch (Throwable ex) {\n"
" // Make sure you log the exception, as it might be swallowed\n"
" System.err.println(\"Initial SessionFactory creation failed.\" + "
"ex);\n"
@@ -1159,7 +1141,7 @@
" return sessionFactory;\n"
" }\n"
"\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:443
@@ -1259,7 +1241,7 @@
#. Tag: programlisting
#: tutorial.xml:492
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[package org.hibernate.tutorial;\n"
"\n"
@@ -1297,12 +1279,14 @@
"\n"
"}]]>"
msgstr ""
-"package events;\n"
+"<![CDATA[package org.hibernate.tutorial;\n"
+"\n"
"import org.hibernate.Session;\n"
"\n"
-"import java.util.Date;\n"
+"import java.util.*;\n"
"\n"
-"import util.HibernateUtil;\n"
+"import org.hibernate.tutorial.domain.Event;\n"
+"import org.hibernate.tutorial.util.HibernateUtil;\n"
"\n"
"public class EventManager {\n"
"\n"
@@ -1317,22 +1301,19 @@
" }\n"
"\n"
" private void createAndStoreEvent(String title, Date theDate) {\n"
-"\n"
" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
"();\n"
-"\n"
" session.beginTransaction();\n"
"\n"
" Event theEvent = new Event();\n"
" theEvent.setTitle(title);\n"
" theEvent.setDate(theDate);\n"
-"\n"
" session.save(theEvent);\n"
"\n"
" session.getTransaction().commit();\n"
" }\n"
"\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:494
@@ -1501,20 +1482,19 @@
#. Tag: programlisting
#: tutorial.xml:590
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) "
"values (?, ?, ?)]]>"
msgstr ""
-"[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) values "
-"(?, ?, ?)"
+"<![CDATA[[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) "
+"values (?, ?, ?)]]>"
#. Tag: para
#: tutorial.xml:592
#, fuzzy, no-c-format
msgid "This is the <literal>INSERT</literal> executed by Hibernate."
-msgstr ""
-"Un ejemplo de la ejecución de la sentencia <literal>INSERT</literal> de HQL:"
+msgstr "Un ejemplo de la ejecución de la sentencia <literal>INSERT</literal> de HQL:"
#. Tag: para
#: tutorial.xml:596
@@ -1526,7 +1506,7 @@
#. Tag: programlisting
#: tutorial.xml:600
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ if (args[0].equals(\"store\")) {\n"
" mgr.createAndStoreEvent(\"My Event\", new Date());\n"
@@ -1542,17 +1522,19 @@
" }\n"
" }]]>"
msgstr ""
-"if (args[0].equals(\"store\")) {\n"
-" mgr.createAndStoreEvent(\"My Event\", new Date());\n"
-"}\n"
-"else if (args[0].equals(\"list\")) {\n"
-" List events = mgr.listEvents();\n"
-" for (int i = 0; i < events.size(); i++) {\n"
-" Event theEvent = (Event) events.get(i);\n"
-" System.out.println(\"Event: \" + theEvent.getTitle() +\n"
-" \" Time: \" + theEvent.getDate());\n"
-" }\n"
-"}"
+"<![CDATA[ if (args[0].equals(\"store\")) {\n"
+" mgr.createAndStoreEvent(\"My Event\", new Date());\n"
+" }\n"
+" else if (args[0].equals(\"list\")) {\n"
+" List events = mgr.listEvents();\n"
+" for (int i = 0; i < events.size(); i++) {\n"
+" Event theEvent = (Event) events.get(i);\n"
+" System.out.println(\n"
+" \"Event: \" + theEvent.getTitle() + \" Time: \" + "
+"theEvent.getDate()\n"
+" );\n"
+" }\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:602
@@ -1562,7 +1544,7 @@
#. Tag: programlisting
#: tutorial.xml:606
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private List listEvents() {\n"
" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
@@ -1573,19 +1555,14 @@
" return result;\n"
" }]]>"
msgstr ""
-"private List listEvents() {\n"
-"\n"
-" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"<![CDATA[ private List listEvents() {\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
"();\n"
-"\n"
-" session.beginTransaction();\n"
-"\n"
-" List result = session.createQuery(\"from Event\").list();\n"
-"\n"
-" session.getTransaction().commit();\n"
-"\n"
-" return result;\n"
-"}"
+" session.beginTransaction();\n"
+" List result = session.createQuery(\"from Event\").list();\n"
+" session.getTransaction().commit();\n"
+" return result;\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:608
@@ -1646,7 +1623,7 @@
#. Tag: programlisting
#: tutorial.xml:642
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[package org.hibernate.tutorial.domain;\n"
"\n"
@@ -1663,7 +1640,7 @@
"\n"
"}]]>"
msgstr ""
-"package events;\n"
+"<![CDATA[package org.hibernate.tutorial.domain;\n"
"\n"
"public class Person {\n"
"\n"
@@ -1676,7 +1653,7 @@
"\n"
" // Accessor methods for all properties, private setter for 'id'\n"
"\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:644
@@ -1696,7 +1673,7 @@
#. Tag: programlisting
#: tutorial.xml:654
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
@@ -1711,18 +1688,18 @@
"\n"
"</hibernate-mapping>]]>"
msgstr ""
-"<hibernate-mapping>\n"
+"<![CDATA[<hibernate-mapping package=\"org.hibernate.tutorial.domain\">\n"
"\n"
-" <class name=\"events.Person\" table=\"PERSON\">\n"
-" <id name=\"id\" column=\"PERSON_ID\">\n"
-" <generator class=\"native\"/>\n"
-" </id>\n"
-" <property name=\"age\"/>\n"
-" <property name=\"firstname\"/>\n"
-" <property name=\"lastname\"/>\n"
-" </class>\n"
+" <class name=\"Person\" table=\"PERSON\">\n"
+" <id name=\"id\" column=\"PERSON_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"age\"/>\n"
+" <property name=\"firstname\"/>\n"
+" <property name=\"lastname\"/>\n"
+" </class>\n"
"\n"
-"</hibernate-mapping>"
+"</hibernate-mapping>]]>"
#. Tag: para
#: tutorial.xml:656
@@ -1732,13 +1709,13 @@
#. Tag: programlisting
#: tutorial.xml:660
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<mapping resource=\"events/Event.hbm.xml\"/>\n"
"<mapping resource=\"events/Person.hbm.xml\"/>]]>"
msgstr ""
-"<mapping resource=\"events/Event.hbm.xml\"/>\n"
-"<mapping resource=\"events/Person.hbm.xml\"/>"
+"<![CDATA[<mapping resource=\"events/Event.hbm.xml\"/>\n"
+"<mapping resource=\"events/Person.hbm.xml\"/>]]>"
#. Tag: para
#: tutorial.xml:662
@@ -1780,7 +1757,7 @@
#. Tag: programlisting
#: tutorial.xml:685
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[public class Person {\n"
"\n"
@@ -1795,7 +1772,7 @@
" }\n"
"}]]>"
msgstr ""
-"public class Person {\n"
+"<![CDATA[public class Person {\n"
"\n"
" private Set events = new HashSet();\n"
"\n"
@@ -1806,7 +1783,7 @@
" public void setEvents(Set events) {\n"
" this.events = events;\n"
" }\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:687
@@ -1836,7 +1813,7 @@
#. Tag: programlisting
#: tutorial.xml:700
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"Person\" table=\"PERSON\">\n"
" <id name=\"id\" column=\"PERSON_ID\">\n"
@@ -1853,20 +1830,20 @@
"\n"
"</class>]]>"
msgstr ""
-"<class name=\"events.Person\" table=\"PERSON\">\n"
-" <id name=\"id\" column=\"PERSON_ID\">\n"
-" <generator class=\"native\"/>\n"
-" </id>\n"
-" <property name=\"age\"/>\n"
-" <property name=\"firstname\"/>\n"
-" <property name=\"lastname\"/>\n"
+"<![CDATA[<class name=\"Person\" table=\"PERSON\">\n"
+" <id name=\"id\" column=\"PERSON_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"age\"/>\n"
+" <property name=\"firstname\"/>\n"
+" <property name=\"lastname\"/>\n"
"\n"
-" <set name=\"events\" table=\"PERSON_EVENT\">\n"
-" <key column=\"PERSON_ID\"/>\n"
-" <many-to-many column=\"EVENT_ID\" class=\"events.Event\"/>\n"
-" </set>\n"
+" <set name=\"events\" table=\"PERSON_EVENT\">\n"
+" <key column=\"PERSON_ID\"/>\n"
+" <many-to-many column=\"EVENT_ID\" class=\"Event\"/>\n"
+" </set>\n"
"\n"
-"</class>"
+"</class>]]>"
#. Tag: para
#: tutorial.xml:702
@@ -1905,7 +1882,7 @@
#. Tag: programlisting
#: tutorial.xml:722
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[\n"
" _____________ __________________\n"
@@ -1921,17 +1898,19 @@
" |_____________|\n"
" ]]>"
msgstr ""
-"_____________ __________________\n"
+"<![CDATA[\n"
+" _____________ __________________\n"
" | | | | _____________\n"
" | EVENTS | | PERSON_EVENT | | |\n"
" |_____________| |__________________| | PERSON |\n"
" | | | | |_____________|\n"
-" | *EVENT_ID | <--> | *EVENT_ID | | |\n"
-" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |\n"
+" | *EVENT_ID | <--> | *EVENT_ID | | |\n"
+" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |\n"
" | TITLE | |__________________| | AGE |\n"
" |_____________| | FIRSTNAME |\n"
" | LASTNAME |\n"
-" |_____________|"
+" |_____________|\n"
+" ]]>"
#. Tag: title
#: tutorial.xml:727
@@ -1951,7 +1930,7 @@
#. Tag: programlisting
#: tutorial.xml:733
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private void addPersonToEvent(Long personId, Long eventId) {\n"
" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
@@ -1965,19 +1944,17 @@
" session.getTransaction().commit();\n"
" }]]>"
msgstr ""
-"private void addPersonToEvent(Long personId, Long eventId) {\n"
-"\n"
-" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"<![CDATA[ private void addPersonToEvent(Long personId, Long eventId) {\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
"();\n"
-" session.beginTransaction();\n"
+" session.beginTransaction();\n"
"\n"
-" Person aPerson = (Person) session.load(Person.class, personId);\n"
-" Event anEvent = (Event) session.load(Event.class, eventId);\n"
+" Person aPerson = (Person) session.load(Person.class, personId);\n"
+" Event anEvent = (Event) session.load(Event.class, eventId);\n"
+" aPerson.getEvents().add(anEvent);\n"
"\n"
-" aPerson.getEvents().add(anEvent);\n"
-"\n"
-" session.getTransaction().commit();\n"
-"}"
+" session.getTransaction().commit();\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:735
@@ -2035,7 +2012,7 @@
#. Tag: programlisting
#: tutorial.xml:763
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private void addPersonToEvent(Long personId, Long eventId) {\n"
" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
@@ -2067,38 +2044,35 @@
" session2.getTransaction().commit();\n"
" }]]>"
msgstr ""
-"private void addPersonToEvent(Long personId, Long eventId) {\n"
-"\n"
-" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"<![CDATA[ private void addPersonToEvent(Long personId, Long eventId) {\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
"();\n"
-" session.beginTransaction();\n"
+" session.beginTransaction();\n"
"\n"
-" Person aPerson = (Person) session\n"
-" .createQuery(\"select p from Person p left join fetch p.events "
-"where p.id = :pid\")\n"
-" .setParameter(\"pid\", personId)\n"
-" .uniqueResult(); // Eager fetch the collection so we can use it "
-"detached\n"
+" Person aPerson = (Person) session\n"
+" .createQuery(\"select p from Person p left join fetch p."
+"events where p.id = :pid\")\n"
+" .setParameter(\"pid\", personId)\n"
+" .uniqueResult(); // Eager fetch the collection so we can use "
+"it detached\n"
+" Event anEvent = (Event) session.load(Event.class, eventId);\n"
"\n"
-" Event anEvent = (Event) session.load(Event.class, eventId);\n"
+" session.getTransaction().commit();\n"
"\n"
-" session.getTransaction().commit();\n"
+" // End of first unit of work\n"
"\n"
-" // End of first unit of work\n"
-"\n"
-" aPerson.getEvents().add(anEvent); // aPerson (and its collection) is "
+" aPerson.getEvents().add(anEvent); // aPerson (and its collection) is "
"detached\n"
"\n"
-" // Begin second unit of work\n"
+" // Begin second unit of work\n"
"\n"
-" Session session2 = HibernateUtil.getSessionFactory().getCurrentSession"
-"();\n"
-" session2.beginTransaction();\n"
+" Session session2 = HibernateUtil.getSessionFactory()."
+"getCurrentSession();\n"
+" session2.beginTransaction();\n"
+" session2.update(aPerson); // Reattachment of aPerson\n"
"\n"
-" session2.update(aPerson); // Reattachment of aPerson\n"
-"\n"
-" session2.getTransaction().commit();\n"
-"}"
+" session2.getTransaction().commit();\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:765
@@ -2138,7 +2112,7 @@
#. Tag: programlisting
#: tutorial.xml:782
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ else if (args[0].equals(\"addpersontoevent\")) {\n"
" Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date"
@@ -2149,13 +2123,14 @@
"+ eventId);\n"
" }]]>"
msgstr ""
-"else if (args[0].equals(\"addpersontoevent\")) {\n"
-" Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date());\n"
-" Long personId = mgr.createAndStorePerson(\"Foo\", \"Bar\");\n"
-" mgr.addPersonToEvent(personId, eventId);\n"
-" System.out.println(\"Added person \" + personId + \" to event \" + "
-"eventId);\n"
-"}"
+"<![CDATA[ else if (args[0].equals(\"addpersontoevent\")) {\n"
+" Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date"
+"());\n"
+" Long personId = mgr.createAndStorePerson(\"Foo\", \"Bar\");\n"
+" mgr.addPersonToEvent(personId, eventId);\n"
+" System.out.println(\"Added person \" + personId + \" to event \" "
+"+ eventId);\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:784
@@ -2218,7 +2193,7 @@
#. Tag: programlisting
#: tutorial.xml:819
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private Set emailAddresses = new HashSet();\n"
"\n"
@@ -2230,15 +2205,15 @@
" this.emailAddresses = emailAddresses;\n"
" }]]>"
msgstr ""
-"private Set emailAddresses = new HashSet();\n"
+"<![CDATA[ private Set emailAddresses = new HashSet();\n"
"\n"
-"public Set getEmailAddresses() {\n"
-" return emailAddresses;\n"
-"}\n"
+" public Set getEmailAddresses() {\n"
+" return emailAddresses;\n"
+" }\n"
"\n"
-"public void setEmailAddresses(Set emailAddresses) {\n"
-" this.emailAddresses = emailAddresses;\n"
-"}"
+" public void setEmailAddresses(Set emailAddresses) {\n"
+" this.emailAddresses = emailAddresses;\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:821
@@ -2248,17 +2223,17 @@
#. Tag: programlisting
#: tutorial.xml:825
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ <set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">\n"
" <key column=\"PERSON_ID\"/>\n"
" <element type=\"string\" column=\"EMAIL_ADDR\"/>\n"
" </set>]]>"
msgstr ""
-"<set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">\n"
-" <key column=\"PERSON_ID\"/>\n"
-" <element type=\"string\" column=\"EMAIL_ADDR\"/>\n"
-"</set>"
+"<![CDATA[ <set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">\n"
+" <key column=\"PERSON_ID\"/>\n"
+" <element type=\"string\" column=\"EMAIL_ADDR\"/>\n"
+" </set>]]>"
#. Tag: para
#: tutorial.xml:827
@@ -2295,7 +2270,7 @@
#. Tag: programlisting
#: tutorial.xml:847
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[\n"
" _____________ __________________\n"
@@ -2318,7 +2293,8 @@
" |_____________|\n"
" ]]>"
msgstr ""
-"_____________ __________________\n"
+"<![CDATA[\n"
+" _____________ __________________\n"
" | | | | _____________\n"
" | EVENTS | | PERSON_EVENT | | | "
"___________________\n"
@@ -2326,16 +2302,17 @@
"| |\n"
" | | | | |_____________| | "
"PERSON_EMAIL_ADDR |\n"
-" | *EVENT_ID | <--> | *EVENT_ID | | | |"
+" | *EVENT_ID | <--> | *EVENT_ID | | | |"
"___________________|\n"
-" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID | <--"
-"> | *PERSON_ID |\n"
+" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID | <--> | "
+"*PERSON_ID |\n"
" | TITLE | |__________________| | AGE | | "
"*EMAIL_ADDR |\n"
" |_____________| | FIRSTNAME | |"
"___________________|\n"
" | LASTNAME |\n"
-" |_____________|"
+" |_____________|\n"
+" ]]>"
#. Tag: para
#: tutorial.xml:849
@@ -2363,7 +2340,7 @@
#. Tag: programlisting
#: tutorial.xml:860
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private void addEmailToPerson(Long personId, String "
"emailAddress) {\n"
@@ -2379,19 +2356,19 @@
" session.getTransaction().commit();\n"
" }]]>"
msgstr ""
-"private void addEmailToPerson(Long personId, String emailAddress) {\n"
-"\n"
-" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"<![CDATA[ private void addEmailToPerson(Long personId, String "
+"emailAddress) {\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
"();\n"
-" session.beginTransaction();\n"
+" session.beginTransaction();\n"
"\n"
-" Person aPerson = (Person) session.load(Person.class, personId);\n"
+" Person aPerson = (Person) session.load(Person.class, personId);\n"
+" // adding to the emailAddress collection might trigger a lazy load "
+"of the collection\n"
+" aPerson.getEmailAddresses().add(emailAddress);\n"
"\n"
-" // The getEmailAddresses() might trigger a lazy load of the collection\n"
-" aPerson.getEmailAddresses().add(emailAddress);\n"
-"\n"
-" session.getTransaction().commit();\n"
-"}"
+" session.getTransaction().commit();\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:862
@@ -2451,7 +2428,7 @@
#. Tag: programlisting
#: tutorial.xml:894
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private Set participants = new HashSet();\n"
"\n"
@@ -2463,28 +2440,27 @@
" this.participants = participants;\n"
" }]]>"
msgstr ""
-"private Set participants = new HashSet();\n"
+"<![CDATA[ private Set participants = new HashSet();\n"
"\n"
-"public Set getParticipants() {\n"
-" return participants;\n"
-"}\n"
+" public Set getParticipants() {\n"
+" return participants;\n"
+" }\n"
"\n"
-"public void setParticipants(Set participants) {\n"
-" this.participants = participants;\n"
-"}"
+" public void setParticipants(Set participants) {\n"
+" this.participants = participants;\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:896
#, fuzzy, no-c-format
-msgid ""
-"Now map this side of the association in <literal>Event.hbm.xml</literal>."
+msgid "Now map this side of the association in <literal>Event.hbm.xml</literal>."
msgstr ""
"Ahora mapee este lado de la asociación también, en <literal>Event.hbm.xml</"
"literal>."
#. Tag: programlisting
#: tutorial.xml:900
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ <set name=\"participants\" table=\"PERSON_EVENT\" inverse="
"\"true\">\n"
@@ -2492,10 +2468,11 @@
" <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>\n"
" </set>]]>"
msgstr ""
-"<set name=\"participants\" table=\"PERSON_EVENT\" inverse=\"true\">\n"
-" <key column=\"EVENT_ID\"/>\n"
-" <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>\n"
-"</set>"
+"<![CDATA[ <set name=\"participants\" table=\"PERSON_EVENT\" inverse="
+"\"true\">\n"
+" <key column=\"EVENT_ID\"/>\n"
+" <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>\n"
+" </set>]]>"
#. Tag: para
#: tutorial.xml:902
@@ -2572,7 +2549,7 @@
#. Tag: programlisting
#: tutorial.xml:936
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ protected Set getEvents() {\n"
" return events;\n"
@@ -2592,23 +2569,23 @@
" event.getParticipants().remove(this);\n"
" }]]>"
msgstr ""
-"protected Set getEvents() {\n"
-" return events;\n"
-"}\n"
+"<![CDATA[ protected Set getEvents() {\n"
+" return events;\n"
+" }\n"
"\n"
-"protected void setEvents(Set events) {\n"
-" this.events = events;\n"
-"}\n"
+" protected void setEvents(Set events) {\n"
+" this.events = events;\n"
+" }\n"
"\n"
-"public void addToEvent(Event event) {\n"
-" this.getEvents().add(event);\n"
-" event.getParticipants().add(this);\n"
-"}\n"
+" public void addToEvent(Event event) {\n"
+" this.getEvents().add(event);\n"
+" event.getParticipants().add(this);\n"
+" }\n"
"\n"
-"public void removeFromEvent(Event event) {\n"
-" this.getEvents().remove(event);\n"
-" event.getParticipants().remove(this);\n"
-"}"
+" public void removeFromEvent(Event event) {\n"
+" this.getEvents().remove(event);\n"
+" event.getParticipants().remove(this);\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:938
@@ -2701,7 +2678,7 @@
#. Tag: programlisting
#: tutorial.xml:979
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[package org.hibernate.tutorial.web;\n"
"\n"
@@ -2742,30 +2719,44 @@
"\n"
"}]]>"
msgstr ""
-"protected void doGet(HttpServletRequest request,\n"
-" HttpServletResponse response)\n"
-" throws ServletException, IOException {\n"
+"<![CDATA[package org.hibernate.tutorial.web;\n"
"\n"
-" SimpleDateFormat dateFormatter = new SimpleDateFormat(\"dd.MM.yyyy\");\n"
+"// Imports\n"
"\n"
-" try {\n"
-" // Begin unit of work\n"
-" HibernateUtil.getSessionFactory()\n"
-" .getCurrentSession().beginTransaction();\n"
+"public class EventManagerServlet extends HttpServlet {\n"
"\n"
-" // Process request and render page...\n"
+" protected void doGet(\n"
+" HttpServletRequest request,\n"
+" HttpServletResponse response) throws ServletException, "
+"IOException {\n"
"\n"
-" // End unit of work\n"
-" HibernateUtil.getSessionFactory()\n"
-" .getCurrentSession().getTransaction().commit();\n"
+" SimpleDateFormat dateFormatter = new SimpleDateFormat( \"dd.MM.yyyy"
+"\" );\n"
"\n"
-" } catch (Exception ex) {\n"
-" HibernateUtil.getSessionFactory()\n"
-" .getCurrentSession().getTransaction().rollback();\n"
-" throw new ServletException(ex);\n"
+" try {\n"
+" // Begin unit of work\n"
+" HibernateUtil.getSessionFactory().getCurrentSession()."
+"beginTransaction();\n"
+"\n"
+" // Process request and render page...\n"
+"\n"
+" // End unit of work\n"
+" HibernateUtil.getSessionFactory().getCurrentSession()."
+"getTransaction().commit();\n"
+" }\n"
+" catch (Exception ex) {\n"
+" HibernateUtil.getSessionFactory().getCurrentSession()."
+"getTransaction().rollback();\n"
+" if ( ServletException.class.isInstance( ex ) ) {\n"
+" throw ( ServletException ) ex;\n"
+" }\n"
+" else {\n"
+" throw new ServletException( ex );\n"
+" }\n"
+" }\n"
" }\n"
"\n"
-"}"
+"}]]>"
#. Tag: para
#: tutorial.xml:981
@@ -2861,7 +2852,7 @@
#. Tag: programlisting
#: tutorial.xml:1027
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ // Write HTML header\n"
" PrintWriter out = response.getWriter();\n"
@@ -2894,35 +2885,36 @@
" out.flush();\n"
" out.close();]]>"
msgstr ""
-"// Write HTML header\n"
-"PrintWriter out = response.getWriter();\n"
-"out.println(\"<html><head><title>Event Manager</"
-"title></head><body>\");\n"
+"<![CDATA[ // Write HTML header\n"
+" PrintWriter out = response.getWriter();\n"
+" out.println(\"<html><head><title>Event Manager</title></head><body>"
+"\");\n"
"\n"
-"// Handle actions\n"
-"if ( \"store\".equals(request.getParameter(\"action\")) ) {\n"
+" // Handle actions\n"
+" if ( \"store\".equals(request.getParameter(\"action\")) ) {\n"
"\n"
-" String eventTitle = request.getParameter(\"eventTitle\");\n"
-" String eventDate = request.getParameter(\"eventDate\");\n"
+" String eventTitle = request.getParameter(\"eventTitle\");\n"
+" String eventDate = request.getParameter(\"eventDate\");\n"
"\n"
-" if ( \"\".equals(eventTitle) || \"\".equals(eventDate) ) {\n"
-" out.println(\"<b><i>Please enter event title and date."
-"</i></b>\");\n"
-" } else {\n"
-" createAndStoreEvent(eventTitle, dateFormatter.parse(eventDate));\n"
-" out.println(\"<b><i>Added event.</i></b>"
-"\");\n"
-" }\n"
-"}\n"
+" if ( \"\".equals(eventTitle) || \"\".equals(eventDate) ) {\n"
+" out.println(\"<b><i>Please enter event title and date.</i></"
+"b>\");\n"
+" }\n"
+" else {\n"
+" createAndStoreEvent(eventTitle, dateFormatter.parse"
+"(eventDate));\n"
+" out.println(\"<b><i>Added event.</i></b>\");\n"
+" }\n"
+" }\n"
"\n"
-"// Print page\n"
-"printEventForm(out);\n"
-"listEvents(out, dateFormatter);\n"
+" // Print page\n"
+" printEventForm(out);\n"
+" listEvents(out, dateFormatter);\n"
"\n"
-"// Write HTML footer\n"
-"out.println(\"</body></html>\");\n"
-"out.flush();\n"
-"out.close();"
+" // Write HTML footer\n"
+" out.println(\"</body></html>\");\n"
+" out.flush();\n"
+" out.close();]]>"
#. Tag: para
#: tutorial.xml:1029
@@ -2945,7 +2937,7 @@
#. Tag: programlisting
#: tutorial.xml:1038
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private void printEventForm(PrintWriter out) {\n"
" out.println(\"<h2>Add new event:</h2>\");\n"
@@ -2959,17 +2951,17 @@
" out.println(\"</form>\");\n"
" }]]>"
msgstr ""
-"private void printEventForm(PrintWriter out) {\n"
-" out.println(\"<h2>Add new event:</h2>\");\n"
-" out.println(\"<form>\");\n"
-" out.println(\"Title: <input name='eventTitle' length='50'/><br/"
-">\");\n"
-" out.println(\"Date (e.g. 24.12.2009): <input name='eventDate' "
-"length='10'/><br/>\");\n"
-" out.println(\"<input type='submit' name='action' value='store'/>"
+"<![CDATA[ private void printEventForm(PrintWriter out) {\n"
+" out.println(\"<h2>Add new event:</h2>\");\n"
+" out.println(\"<form>\");\n"
+" out.println(\"Title: <input name='eventTitle' length='50'/><br/>"
"\");\n"
-" out.println(\"</form>\");\n"
-"}"
+" out.println(\"Date (e.g. 24.12.2009): <input name='eventDate' "
+"length='10'/><br/>\");\n"
+" out.println(\"<input type='submit' name='action' value='store'/>"
+"\");\n"
+" out.println(\"</form>\");\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:1040
@@ -2984,7 +2976,7 @@
#. Tag: programlisting
#: tutorial.xml:1046
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ private void listEvents(PrintWriter out, SimpleDateFormat "
"dateFormatter) {\n"
@@ -3011,30 +3003,30 @@
" }\n"
" }]]>"
msgstr ""
-"private void listEvents(PrintWriter out, SimpleDateFormat dateFormatter) {\n"
+"<![CDATA[ private void listEvents(PrintWriter out, SimpleDateFormat "
+"dateFormatter) {\n"
"\n"
-" List result = HibernateUtil.getSessionFactory()\n"
-" .getCurrentSession().createCriteria(Event.class).list"
-"();\n"
-" if (result.size() > 0) {\n"
-" out.println(\"<h2>Events in database:</h2>\");\n"
-" out.println(\"<table border='1'>\");\n"
-" out.println(\"<tr>\");\n"
-" out.println(\"<th>Event title</th>\");\n"
-" out.println(\"<th>Event date</th>\");\n"
-" out.println(\"</tr>\");\n"
-" for (Iterator it = result.iterator(); it.hasNext();) {\n"
-" Event event = (Event) it.next();\n"
-" out.println(\"<tr>\");\n"
-" out.println(\"<td>\" + event.getTitle() + \"</td>"
-"\");\n"
-" out.println(\"<td>\" + dateFormatter.format(event.getDate"
-"()) + \"</td>\");\n"
-" out.println(\"</tr>\");\n"
+" List result = HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().createCriteria(Event.class).list();\n"
+" if (result.size() > 0) {\n"
+" out.println(\"<h2>Events in database:</h2>\");\n"
+" out.println(\"<table border='1'>\");\n"
+" out.println(\"<tr>\");\n"
+" out.println(\"<th>Event title</th>\");\n"
+" out.println(\"<th>Event date</th>\");\n"
+" out.println(\"</tr>\");\n"
+" Iterator it = result.iterator();\n"
+" while (it.hasNext()) {\n"
+" Event event = (Event) it.next();\n"
+" out.println(\"<tr>\");\n"
+" out.println(\"<td>\" + event.getTitle() + \"</td>\");\n"
+" out.println(\"<td>\" + dateFormatter.format(event.getDate()) "
+"+ \"</td>\");\n"
+" out.println(\"</tr>\");\n"
+" }\n"
+" out.println(\"</table>\");\n"
" }\n"
-" out.println(\"</table>\");\n"
-" }\n"
-"}"
+" }]]>"
#. Tag: para
#: tutorial.xml:1048
@@ -3050,7 +3042,7 @@
#. Tag: programlisting
#: tutorial.xml:1054
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[ protected void createAndStoreEvent(String title, Date theDate) "
"{\n"
@@ -3062,14 +3054,15 @@
" .getCurrentSession().save(theEvent);\n"
" }]]>"
msgstr ""
-"protected void createAndStoreEvent(String title, Date theDate) {\n"
-" Event theEvent = new Event();\n"
-" theEvent.setTitle(title);\n"
-" theEvent.setDate(theDate);\n"
+"<![CDATA[ protected void createAndStoreEvent(String title, Date theDate) "
+"{\n"
+" Event theEvent = new Event();\n"
+" theEvent.setTitle(title);\n"
+" theEvent.setDate(theDate);\n"
"\n"
-" HibernateUtil.getSessionFactory()\n"
-" .getCurrentSession().save(theEvent);\n"
-"}"
+" HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().save(theEvent);\n"
+" }]]>"
#. Tag: para
#: tutorial.xml:1056
@@ -3111,7 +3104,7 @@
#. Tag: programlisting
#: tutorial.xml:1078
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<web-app version=\"2.4\"\n"
@@ -3132,24 +3125,24 @@
" </servlet-mapping>\n"
"</web-app>]]>"
msgstr ""
-"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
-"<web-app version=\"2.4\"\n"
+"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<web-app version=\"2.4\"\n"
" xmlns=\"http://java.sun.com/xml/ns/j2ee\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee\n"
-" http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd\">\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/"
+"xml/ns/j2ee/web-app_2_4.xsd\">\n"
"\n"
-" <servlet>\n"
-" <servlet-name>Event Manager</servlet-name>\n"
-" <servlet-class>events.EventManagerServlet</servlet-"
-"class>\n"
-" </servlet>\n"
+" <servlet>\n"
+" <servlet-name>Event Manager</servlet-name>\n"
+" <servlet-class>org.hibernate.tutorial.web.EventManagerServlet</"
+"servlet-class>\n"
+" </servlet>\n"
"\n"
-" <servlet-mapping>\n"
-" <servlet-name>Event Manager</servlet-name>\n"
-" <url-pattern>/eventmanager</url-pattern>\n"
-" </servlet-mapping>\n"
-"</web-app>"
+" <servlet-mapping>\n"
+" <servlet-name>Event Manager</servlet-name>\n"
+" <url-pattern>/eventmanager</url-pattern>\n"
+" </servlet-mapping>\n"
+"</web-app>]]>"
#. Tag: para
#: tutorial.xml:1080
@@ -3208,3 +3201,4 @@
msgstr ""
"Este tutorial abordó los puntos básicos de la escritura de una simple "
"aplicación de Hibernate autónoma y una pequeña aplicación web."
+
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/xml.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/xml.po 2009-10-07 06:39:50 UTC (rev 94450)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/es-ES/xml.po 2009-10-07 06:42:08 UTC (rev 94451)
@@ -1,112 +1,27 @@
-# translation of Collection_Mapping.po to
+# translation of xml.po to
+# Michael H. Smith <mhideo at redhat.com>, 2007.
+# Angela Garcia <agarcia at redhat.com>, 2009.
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# translation of Collection_Mapping.po to es
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2006.
-# , 2007.
-# , 2007.
-# , 2007.
-# Michael H. Smith <mhideo at redhat.com>, 2007.
+# translation of Collection_Mapping.po to
msgid ""
msgstr ""
-"Project-Id-Version: Collection_Mapping\n"
+"Project-Id-Version: xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2007-02-26 11:33+1000\n"
-"Last-Translator: \n"
+"PO-Revision-Date: 2009-10-07 08:11+1000\n"
+"Last-Translator: Angela Garcia <agarcia at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: xml.xml:29
@@ -202,7 +117,7 @@
#. Tag: programlisting
#: xml.xml:74
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"Account\" \n"
" table=\"ACCOUNTS\" \n"
@@ -225,26 +140,26 @@
" \n"
"</class>]]>"
msgstr ""
-"<class name=\"Account\" \n"
+"<![CDATA[<class name=\"Account\" \n"
" table=\"ACCOUNTS\" \n"
-" node=\"account\">\n"
+" node=\"account\">\n"
" \n"
-" <id name=\"accountId\" \n"
+" <id name=\"accountId\" \n"
" column=\"ACCOUNT_ID\" \n"
-" node=\"@id\"/>\n"
+" node=\"@id\"/>\n"
" \n"
-" <many-to-one name=\"customer\" \n"
+" <many-to-one name=\"customer\" \n"
" column=\"CUSTOMER_ID\" \n"
" node=\"customer/@id\" \n"
-" embed-xml=\"false\"/>\n"
+" embed-xml=\"false\"/>\n"
" \n"
-" <property name=\"balance\" \n"
+" <property name=\"balance\" \n"
" column=\"BALANCE\" \n"
-" node=\"balance\"/>\n"
+" node=\"balance\"/>\n"
" \n"
" ...\n"
" \n"
-"</class>"
+"</class>]]>"
#. Tag: title
#: xml.xml:78
@@ -260,7 +175,7 @@
#. Tag: programlisting
#: xml.xml:84
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class entity-name=\"Account\" \n"
" table=\"ACCOUNTS\" \n"
@@ -286,29 +201,29 @@
" \n"
"</class>]]>"
msgstr ""
-"<class entity-name=\"Account\" \n"
+"<![CDATA[<class entity-name=\"Account\" \n"
" table=\"ACCOUNTS\" \n"
-" node=\"account\">\n"
+" node=\"account\">\n"
" \n"
-" <id name=\"id\" \n"
+" <id name=\"id\" \n"
" column=\"ACCOUNT_ID\" \n"
" node=\"@id\" \n"
-" type=\"string\"/>\n"
+" type=\"string\"/>\n"
" \n"
-" <many-to-one name=\"customerId\" \n"
+" <many-to-one name=\"customerId\" \n"
" column=\"CUSTOMER_ID\" \n"
" node=\"customer/@id\" \n"
" embed-xml=\"false\" \n"
-" entity-name=\"Customer\"/>\n"
+" entity-name=\"Customer\"/>\n"
" \n"
-" <property name=\"balance\" \n"
+" <property name=\"balance\" \n"
" column=\"BALANCE\" \n"
" node=\"balance\" \n"
-" type=\"big_decimal\"/>\n"
+" type=\"big_decimal\"/>\n"
" \n"
" ...\n"
" \n"
-"</class>"
+"</class>]]>"
#. Tag: para
#: xml.xml:86
@@ -345,22 +260,21 @@
#. Tag: para
#: xml.xml:108
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<literal>\"element-name\"</literal>: map to the named XML element"
-msgstr "<literal>\"element-name\"</literal> - mapea al elemento XML mencionado"
+msgstr "<literal>\"element-name\"</literal> - mapea al elemento XML mencionado "
#. Tag: para
#: xml.xml:111
#, fuzzy, no-c-format
msgid "<literal>\"@attribute-name\"</literal>: map to the named XML attribute"
-msgstr ""
-"<literal>\"@attribute-name\"</literal> - mapea al atributo XML mencionado"
+msgstr "<literal>\"@attribute-name\"</literal> - mapea al atributo XML mencionado"
#. Tag: para
#: xml.xml:114
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<literal>\".\"</literal>: map to the parent element"
-msgstr "<literal>\".\"</literal> - mapea al elemento padre"
+msgstr "<literal>\".\"</literal> - mapea al elemento padre "
#. Tag: para
#: xml.xml:117
@@ -405,7 +319,7 @@
#. Tag: programlisting
#: xml.xml:139
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<class name=\"Customer\" \n"
" table=\"CUSTOMER\" \n"
@@ -442,40 +356,40 @@
" \n"
"</class>]]>"
msgstr ""
-"<class name=\"Customer\" \n"
+"<![CDATA[<class name=\"Customer\" \n"
" table=\"CUSTOMER\" \n"
-" node=\"customer\">\n"
+" node=\"customer\">\n"
" \n"
-" <id name=\"id\" \n"
+" <id name=\"id\" \n"
" column=\"CUST_ID\" \n"
-" node=\"@id\"/>\n"
+" node=\"@id\"/>\n"
" \n"
-" <map name=\"accounts\" \n"
+" <map name=\"accounts\" \n"
" node=\".\" \n"
-" embed-xml=\"true\">\n"
-" <key column=\"CUSTOMER_ID\" \n"
-" not-null=\"true\"/>\n"
-" <map-key column=\"SHORT_DESC\" \n"
+" embed-xml=\"true\">\n"
+" <key column=\"CUSTOMER_ID\" \n"
+" not-null=\"true\"/>\n"
+" <map-key column=\"SHORT_DESC\" \n"
" node=\"@short-desc\" \n"
-" type=\"string\"/>\n"
-" <one-to-many entity-name=\"Account\"\n"
+" type=\"string\"/>\n"
+" <one-to-many entity-name=\"Account\"\n"
" embed-xml=\"false\" \n"
-" node=\"account\"/>\n"
-" </map>\n"
+" node=\"account\"/>\n"
+" </map>\n"
" \n"
-" <component name=\"name\" \n"
-" node=\"name\">\n"
-" <property name=\"firstName\" \n"
-" node=\"first-name\"/>\n"
-" <property name=\"initial\" \n"
-" node=\"initial\"/>\n"
-" <property name=\"lastName\" \n"
-" node=\"last-name\"/>\n"
-" </component>\n"
+" <component name=\"name\" \n"
+" node=\"name\">\n"
+" <property name=\"firstName\" \n"
+" node=\"first-name\"/>\n"
+" <property name=\"initial\" \n"
+" node=\"initial\"/>\n"
+" <property name=\"lastName\" \n"
+" node=\"last-name\"/>\n"
+" </component>\n"
" \n"
" ...\n"
" \n"
-"</class>"
+"</class>]]>"
#. Tag: para
#: xml.xml:141
@@ -489,22 +403,23 @@
#. Tag: programlisting
#: xml.xml:146
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[from Customer c left join fetch c.accounts where c.lastName like :"
"lastName]]>"
msgstr ""
-"from Customer c left join fetch c.accounts where c.lastName like :lastName"
+"<![CDATA[from Customer c left join fetch c.accounts where c.lastName like :"
+"lastName]]>"
#. Tag: para
#: xml.xml:148
-#, fuzzy, no-c-format
+#, no-c-format
msgid "would return datasets such as this:"
-msgstr "devolvería conjuntos de datos como estos:"
+msgstr "retornaría conjuntos de datos como este:"
#. Tag: programlisting
#: xml.xml:152
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<customer id=\"123456789\">\n"
" <account short-desc=\"Savings\">987632567</account>\n"
@@ -517,16 +432,16 @@
" ...\n"
"</customer>]]>"
msgstr ""
-"<customer id=\"123456789\">\n"
-" <account short-desc=\"Savings\">987632567</account>\n"
-" <account short-desc=\"Credit Card\">985612323</account>\n"
-" <name>\n"
-" <first-name>Gavin</first-name>\n"
-" <initial>A</initial>\n"
-" <last-name>King</last-name>\n"
-" </name>\n"
+"<![CDATA[<customer id=\"123456789\">\n"
+" <account short-desc=\"Savings\">987632567</account>\n"
+" <account short-desc=\"Credit Card\">985612323</account>\n"
+" <name>\n"
+" <first-name>Gavin</first-name>\n"
+" <initial>A</initial>\n"
+" <last-name>King</last-name>\n"
+" </name>\n"
" ...\n"
-"</customer>"
+"</customer>]]>"
#. Tag: para
#: xml.xml:154
@@ -540,7 +455,7 @@
#. Tag: programlisting
#: xml.xml:159
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[<customer id=\"123456789\">\n"
" <account id=\"987632567\" short-desc=\"Savings\">\n"
@@ -559,22 +474,22 @@
" ...\n"
"</customer>]]>"
msgstr ""
-"<customer id=\"123456789\">\n"
-" <account id=\"987632567\" short-desc=\"Savings\">\n"
-" <customer id=\"123456789\"/>\n"
-" <balance>100.29</balance>\n"
-" </account>\n"
-" <account id=\"985612323\" short-desc=\"Credit Card\">\n"
-" <customer id=\"123456789\"/>\n"
-" <balance>-2370.34</balance>\n"
-" </account>\n"
-" <name>\n"
-" <first-name>Gavin</first-name>\n"
-" <initial>A</initial>\n"
-" <last-name>King</last-name>\n"
-" </name>\n"
+"<![CDATA[<customer id=\"123456789\">\n"
+" <account id=\"987632567\" short-desc=\"Savings\">\n"
+" <customer id=\"123456789\"/>\n"
+" <balance>100.29</balance>\n"
+" </account>\n"
+" <account id=\"985612323\" short-desc=\"Credit Card\">\n"
+" <customer id=\"123456789\"/>\n"
+" <balance>-2370.34</balance>\n"
+" </account>\n"
+" <name>\n"
+" <first-name>Gavin</first-name>\n"
+" <initial>A</initial>\n"
+" <last-name>King</last-name>\n"
+" </name>\n"
" ...\n"
-"</customer>"
+"</customer>]]>"
#. Tag: title
#: xml.xml:165
@@ -594,7 +509,7 @@
#. Tag: programlisting
#: xml.xml:172
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Document doc = ....;\n"
" \n"
@@ -615,7 +530,7 @@
"tx.commit();\n"
"session.close();]]>"
msgstr ""
-"Document doc = ....;\n"
+"<![CDATA[Document doc = ....;\n"
" \n"
"Session session = factory.openSession();\n"
"Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
@@ -625,18 +540,18 @@
" .createQuery(\"from Customer c left join fetch c.accounts where c."
"lastName like :lastName\")\n"
" .list();\n"
-"for ( int i=0; i<results.size(); i++ ) {\n"
+"for ( int i=0; i<results.size(); i++ ) {\n"
" //add the customer data to the XML document\n"
" Element customer = (Element) results.get(i);\n"
" doc.add(customer);\n"
"}\n"
"\n"
"tx.commit();\n"
-"session.close();"
+"session.close();]]>"
#. Tag: programlisting
#: xml.xml:174
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Session session = factory.openSession();\n"
"Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
@@ -655,12 +570,12 @@
"tx.commit();\n"
"session.close();]]>"
msgstr ""
-"Session session = factory.openSession();\n"
+"<![CDATA[Session session = factory.openSession();\n"
"Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
"Transaction tx = session.beginTransaction();\n"
"\n"
"Element cust = (Element) dom4jSession.get(\"Customer\", customerId);\n"
-"for ( int i=0; i<results.size(); i++ ) {\n"
+"for ( int i=0; i<results.size(); i++ ) {\n"
" Element customer = (Element) results.get(i);\n"
" //change the customer name in the XML and database\n"
" Element name = customer.element(\"name\");\n"
@@ -670,7 +585,7 @@
"}\n"
"\n"
"tx.commit();\n"
-"session.close();"
+"session.close();]]>"
#. Tag: para
#: xml.xml:176
@@ -682,3 +597,4 @@
"Es extremadamente útil combinar esta funcionalidad con la operación "
"<literal>replicate()</literal> de Hibernate para implementar la importación/"
"exportación de datos basada en XML."
+
More information about the jboss-cvs-commits
mailing list