java/nekurak.net-ejb/src/conf/Komentar.hbm.xml
changeset 134 4bd1e353c527
child 145 0efefbf5f8b6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-ejb/src/conf/Komentar.hbm.xml	Tue Jun 08 14:42:00 2010 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
     1.6 +"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
     1.7 +<hibernate-mapping>
     1.8 +    <class name="cz.frantovo.nekurak.dto.Komentar" table="komentar">
     1.9 +	<id name="id" column="id" type="integer">
    1.10 +	    <generator class="sequence">
    1.11 +		<param name="sequence">komentar_seq</param>
    1.12 +	    </generator>
    1.13 +	</id>
    1.14 +	<property name="podnik" column="podnik"/>
    1.15 +	<property name="uzivatel" column="uzivatel"/>
    1.16 +	<property name="datum" column="datum"/>
    1.17 +	<property name="nadpis" column="nadpis"/>
    1.18 +	<property name="komentar" column="komentar"/>
    1.19 +    </class>
    1.20 +</hibernate-mapping>
    1.21 \ No newline at end of file