alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (xml.po)

This example Hibernate source code file (xml.po) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

a, este, hibernate, hibernate, hql, pojo, pojos, puede, tag, tag, xml, xml, you, you

The Hibernate xml.po source code

# translation of xml.po to
# Michael H. Smith <mhideo@redhat.com>, 2007.
# Angela Garcia <agarcia@redhat.com>, 2009, 2010.
# 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
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
# translation of Collection_Mapping.po to
msgid ""
msgstr ""
"Project-Id-Version: xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-02-10T07:25:35\n"
"PO-Revision-Date: 2010-03-15 12:56+1000\n"
"Last-Translator: Angela Garcia <agarcia@redhat.com>\n"
"Language-Team:  <en@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.11.4\n"

#. Tag: title
#, no-c-format
msgid "XML Mapping"
msgstr "Mapeo XML"

#. Tag: para
#, no-c-format
msgid ""
"<emphasis> XML Mapping is an experimental feature in Hibernate 3.0 and is "
"currently under active development. </emphasis>"
msgstr ""
"<emphasis> El mapeo XML es una funcionalidad experimental en Hibernate 3.0 y "
"actualmente se encuentra bajo desarrollo activo. </emphasis>"

#. Tag: title
#, no-c-format
msgid "Working with XML data"
msgstr "Trabajo con datos XML"

#. Tag: para
#, no-c-format
msgid ""
"Hibernate allows you to work with persistent XML data in much the same way "
"you work with persistent POJOs. A parsed XML tree can be thought of as "
"another way of representing the relational data at the object level, instead "
"of POJOs."
msgstr ""
"Hibernate le permite trabajar con datos XML persistentes en casi de la misma "
"forma que trabaja con POJOs persistentes. Un árbol XML analizado "
"semáticamente se puede considerar como otra manera de representar los datos "
"relacionales a nivel de objetos, en lugar de POJOs."

#. Tag: para
#, no-c-format
msgid ""
"Hibernate supports dom4j as API for manipulating XML trees. You can write "
"queries that retrieve dom4j trees from the database and have any "
"modification you make to the tree automatically synchronized to the "
"database. You can even take an XML document, parse it using dom4j, and write "
"it to the database with any of Hibernate's basic operations: <literal>persist"
"(), saveOrUpdate(), merge(), delete(), replicate()</literal> (merging is not "
"yet supported)."
msgstr ""
"Hibernate soporta dom4j como API para manipular árboles XML. Puede escribir "
"consultas que recuperen árboles dom4j de la base de datos y puede tener "
"cualquier modificación que realice al árbol sincronizada automáticamente con "
"la base de datos. Incluso puede tomar un documento XML, analizarlo "
"sintácticamente utilizando dom4j, y escribirlo a la base de datos con "
"cualquiera de las operaciones básicas de Hibernate: <literal>persist(), "
"saveOrUpdate(), merge(), delete(), replicate()</literal> (merge aún no está "
"soportado)."

#. Tag: para
#, no-c-format
msgid ""
"This feature has many applications including data import/export, "
"externalization of entity data via JMS or SOAP and XSLT-based reporting."
msgstr ""
"Esta funcionalidad tiene muchas aplicaciones incluyendo la importación/"
"exportación de datos, externalización de datos de entidad por medio de JMS o "
"SOAP y reportes basados en XSLT."

#. Tag: para
#, no-c-format
msgid ""
"A single mapping can be used to simultaneously map properties of a class and "
"nodes of an XML document to the database, or, if there is no class to map, "
"it can be used to map just the XML."
msgstr ""
"Un sólo mapeo se puede utilizar para mapear simultáneamente las propiedades "
"de una clase y los nodos de un documento XML a la base de datos, o si no hay "
"ninguna clase a mapear, se puede utilizar para mapear sólo el XML."

#. Tag: title
#, no-c-format
msgid "Specifying XML and class mapping together"
msgstr "Especificación de los mapeos de XML y de clase en conjunto"

#. Tag: para
#, no-c-format
msgid "Here is an example of mapping a POJO and XML simultaneously:"
msgstr "Este es un ejemplo del mapeo de un POJO y XML de manera simultánea:"

#. Tag: title
#, no-c-format
msgid "Specifying only an XML mapping"
msgstr "Especificación de sólo un mapeo XML"

#. Tag: para
#, no-c-format
msgid "Here is an example where there is no POJO class:"
msgstr "Este es un ejemplo donde no hay ninguna clase POJO:"

#. Tag: para
#, no-c-format
msgid ""
"This mapping allows you to access the data as a dom4j tree, or as a graph of "
"property name/value pairs or java <literal>Maps. The property "
"names are purely logical constructs that can be referred to in HQL queries."
msgstr ""
"Este mapeo le permite acceder a los datos como un árbol dom4j o como un "
"grafo de parejas nombre/valor de propiedad o<literal>Mapas de "
"Java. Los nombres de propiedades son construcciones puramente lógicas a las "
"que se puede hacer referencia en consultas HQL."

#. Tag: title
#, no-c-format
msgid "XML mapping metadata"
msgstr "Mapeo de metadatos XML"

#. Tag: para
#, no-c-format
msgid ""
"A range of Hibernate mapping elements accept the <literal>node "
"attribute. This lets you specify the name of an XML attribute or element "
"that holds the property or entity data. The format of the <literal>node tiene que ser uno de los siguientes: "

#. Tag: para
#, no-c-format
msgid "<literal>\"element-name\": map to the named XML element"
msgstr "<literal>\"element-name\" - mapea al elemento XML mencionado "

#. Tag: para
#, no-c-format
msgid "<literal>\"@attribute-name\": map to the named XML attribute"
msgstr "<literal>\"@attribute-name\": mapea al atributo XML mencionado"

#. Tag: para
#, no-c-format
msgid "<literal>\".\": map to the parent element"
msgstr "<literal>\".\" - mapea al elemento padre "

#. Tag: para
#, no-c-format
msgid ""
"<literal>\"element-name/@attribute-name\": map to the named "
"attribute of the named element"
msgstr ""
"<literal>\"element-name/@attribute-name\": mapea al atributo "
"mencionado del elemento nombrado"

#. Tag: para
#, no-c-format
msgid ""
"For collections and single valued associations, there is an additional "
"<literal>embed-xml attribute. If embed-xml=\"true\", "
"then only the referenced identifier value will appear in the XML for single "
"point associations and collections will not appear at all."
msgstr ""
"Para las colecciones y asociaciones monovaluadas, existe un atributo "
"adicional <literal>embed-xml. Si embed-xml=\"true\", entonces sólo el valor identificador "
"referenciado aparecerá en el XML para asociaciones de punto único y para las "
"colecciones simplemente no aparecerá."

#. Tag: para
#, no-c-format
msgid ""
"Do not leave <literal>embed-xml=\"true\" for too many "
"associations, since XML does not deal well with circularity."
msgstr ""
"No deje <literal>embed-xml=\"true\" para demasiadas asociaciones "
"ya que XML no se ocupa bien de la circularidad."

#. Tag: para
#, no-c-format
msgid ""
"In this case, the collection of account ids is embedded, but not the actual "
"account data. The following HQL query:"
msgstr ""
"En este caso, la colección de ids de cuenta están incluídos, pero no los "
"datos reales de cuenta. La siguiente consulta HQL:"

#. Tag: para
#, no-c-format
msgid "would return datasets such as this:"
msgstr "retornaría conjuntos de datos como este:"

#. Tag: para
#, no-c-format
msgid ""
"If you set <literal>embed-xml=\"true\" on the <one-to-"
"many></literal> mapping, the data might look more like this:"
msgstr ""
"Si establece <literal>embed-xml=\"true\" en el mapeo <"
"one-to-many></literal>, puede que los datos se vean así:"

#. Tag: title
#, no-c-format
msgid "Manipulating XML data"
msgstr "Manipulación de datos XML"

#. Tag: para
#, no-c-format
msgid ""
"You can also re-read and update XML documents in the application. You can do "
"this by obtaining a dom4j session:"
msgstr ""
"Puede releer y actualizar documentos XML en la aplicación. Puede hacer esto "
"obteniendo una sesión dom4j:"

#. Tag: para
#, no-c-format
msgid ""
"When implementing XML-based data import/export, it is useful to combine this "
"feature with Hibernate's <literal>replicate() operation."
msgstr ""
"Es útil combinar esta funcionalidad con la operación <literal>replicate()

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate xml.po source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.