1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Sun Jan 09 16:27:44 2011 +0100
1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml Sun Jan 09 16:33:29 2011 +0100
1.3 @@ -21,7 +21,7 @@
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 + <set name="komentare" table="komentar" lazy="false" order-by="id DESC">
1.9 <key column="podnik" foreign-key="id"/>
1.10 <one-to-many class="cz.frantovo.nekurak.dto.Komentar"/>
1.11 </set>