1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Sun Aug 15 22:47:33 2010 +0200
1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Sat Jan 08 20:18:27 2011 +0100
1.3 @@ -25,6 +25,10 @@
1.4 <key column="podnik" foreign-key="id"/>
1.5 <one-to-many class="cz.frantovo.nekurak.dto.Komentar"/>
1.6 </set>
1.7 + <set name="kategorie" table="podnik_kategorie" lazy="false">
1.8 + <key column="podnik"/>
1.9 + <many-to-many class="cz.frantovo.nekurak.dto.Kategorie" column="kategorie" order-by="nazev"/>
1.10 + </set>
1.11 <property name="sirka" column="sirka"/>
1.12 <property name="delka" column="delka"/>
1.13