java/nekurak.net-ejb/src/conf/Podnik.hbm.xml
changeset 52 4c0408690ebf
parent 39 ea342cf8c15a
child 63 619b0d3732eb
     1.1 --- a/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml	Thu Feb 25 02:41:57 2010 +0100
     1.2 +++ b/java/nekurak.net-ejb/src/conf/Podnik.hbm.xml	Thu Mar 04 14:09:21 2010 +0100
     1.3 @@ -3,7 +3,11 @@
     1.4  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
     1.5  <hibernate-mapping>
     1.6      <class name="cz.frantovo.nekurak.dto.Podnik" table="podnik">
     1.7 -	<id name="id" column="id" type="integer"/>
     1.8 +	<id name="id" column="id" type="integer">
     1.9 +	    <generator class="sequence">
    1.10 +		<param name="sequence">podnik_seq</param>
    1.11 +	    </generator>
    1.12 +	</id>
    1.13  	<property name="nazev" column="nazev"/>
    1.14  	<property name="popis" column="popis"/>
    1.15  	<property name="url" column="url"/>