<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://cursohibernate.es/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://cursohibernate.es/feed.php">
        <title>cursohibernate privado</title>
        <description></description>
        <link>https://cursohibernate.es/</link>
        <image rdf:resource="https://cursohibernate.es/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-09T10:33:10+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://cursohibernate.es/doku.php?id=privado:05_propiedades_derivadas&amp;rev=1680895583&amp;do=diff"/>
                <rdf:li rdf:resource="https://cursohibernate.es/doku.php?id=privado:anotaciones&amp;rev=1680895583&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://cursohibernate.es/lib/tpl/dokuwiki/images/favicon.ico">
        <title>cursohibernate</title>
        <link>https://cursohibernate.es/</link>
        <url>https://cursohibernate.es/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://cursohibernate.es/doku.php?id=privado:05_propiedades_derivadas&amp;rev=1680895583&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-07T21:26:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Propiedades derivadas</title>
        <link>https://cursohibernate.es/doku.php?id=privado:05_propiedades_derivadas&amp;rev=1680895583&amp;do=diff</link>
        <description>Propiedades derivadas

Cálculos derivados

Hibernate permite indicar que el valor de una propiedad deriva de los valores de otras propiedades de la entidad. 

Veamos el siguiente ejemplo sencillo de una factura y las lineas de la factura.



Las tablas serían las siguientes:</description>
    </item>
    <item rdf:about="https://cursohibernate.es/doku.php?id=privado:anotaciones&amp;rev=1680895583&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-07T21:26:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Anotaciones</title>
        <link>https://cursohibernate.es/doku.php?id=privado:anotaciones&amp;rev=1680895583&amp;do=diff</link>
        <description>Anotaciones



Clave Asignada


    &lt;id column=&quot;Id&quot; name=&quot;id&quot; type=&quot;integer&quot; unsaved-value=&quot;any&quot;&gt;
        &lt;generator class=&quot;assigned&quot; /&gt;
    &lt;/id&gt;


Claves naturales


&lt;natural-id&gt;
    &lt;property name=&quot;name&quot;  /&gt;
&lt;/natural-id&gt;


Generar SQL

Generar el fichero SQL con el DDL de las tablas:</description>
    </item>
</rdf:RDF>
