java/nekurak.net-ejb/src/conf/Podnik.hbm.xml
changeset 142 44ef544460ca
parent 100 01be78803f73
child 145 0efefbf5f8b6
     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	Sat Jun 19 11:19:27 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