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 Feb 25 16:01:46 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"/>