<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 11-jun-2011 18:21:07 by Hibernate Tools 3.2.0.b9 -->
<hibernate-mapping package="negocio">
    <class name="Vista" table="VISTA" schema="PUBLIC">
        <id name="idVista" type="int">
            <column name="ID_VISTA" />
            <generator class="increment" />
        </id>
        <many-to-one name="plantilla" class="Plantilla" fetch="select">
            <column name="ID_PLANTILLA" />
        </many-to-one>
        <many-to-one name="proyecto" class="Proyecto" fetch="select">
            <column name="ID_PROYECTO" />
        </many-to-one>
        <property name="nombre" type="string">
            <column name="NOMBRE" length="30" />
        </property>
    </class>
</hibernate-mapping>
