1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Thu Mar 11 11:55:52 2010 +0100
1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Sun Mar 14 01:37:40 2010 +0100
1.3 @@ -16,5 +16,10 @@
1.4 <property name="cisloPopisne" column="cislo_popisne"/>
1.5 <property name="mesto" column="mesto"/>
1.6 <property name="spravce" column="spravce"/>
1.7 + <set name="fotky" table="fotka" lazy="true">
1.8 + <key column="podnik" foreign-key="id"/>
1.9 + <one-to-many class="cz.frantovo.nekurak.dto.Fotka"/>
1.10 + </set>
1.11 +
1.12 </class>
1.13 </hibernate-mapping>
1.14 \ No newline at end of file