1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Wed Apr 14 00:12:32 2010 +0200
1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Wed Jun 09 15:51:41 2010 +0200
1.3 @@ -21,6 +21,10 @@
1.4 <list-index column="poradi"/>
1.5 <one-to-many class="cz.frantovo.nekurak.dto.Fotka"/>
1.6 </list>
1.7 + <set name="komentare" table="komentar" lazy="false">
1.8 + <key column="podnik" foreign-key="id"/>
1.9 + <one-to-many class="cz.frantovo.nekurak.dto.Komentar"/>
1.10 + </set>
1.11 <property name="sirka" column="sirka"/>
1.12 <property name="delka" column="delka"/>
1.13