java/nekurak.net-ejb/src/conf/Podnik.hbm.xml
changeset 159 1ebf1bc25d8e
parent 154 bf21a4abea9b
child 164 e146e2e3b80b
     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>