java/nekurak.net-ejb/src/conf/Podnik.hbm.xml
changeset 127 2b6107e510d8
parent 100 01be78803f73
child 145 0efefbf5f8b6
     1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml	Mon Jun 07 23:14:02 2010 +0200
     1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml	Tue Jun 08 02:37:04 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