java/nekurak.net-ejb/src/conf/Podnik.hbm.xml
author František Kučera <franta-hg@frantovo.cz>
Thu, 25 Feb 2010 08:26:46 +0100
changeset 40 67d332d48562
parent 39 ea342cf8c15a
child 63 619b0d3732eb
permissions -rw-r--r--
Zakládání podniků + HTTP autentizace.
franta-hg@28
     1
<?xml version="1.0"?>
franta-hg@28
     2
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
franta-hg@28
     3
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
franta-hg@28
     4
<hibernate-mapping>
franta-hg@28
     5
    <class name="cz.frantovo.nekurak.dto.Podnik" table="podnik">
franta-hg@40
     6
	<id name="id" column="id" type="integer">
franta-hg@40
     7
	    <generator class="sequence">
franta-hg@40
     8
		<param name="sequence">podnik_seq</param>
franta-hg@40
     9
	    </generator>
franta-hg@40
    10
	</id>
franta-hg@28
    11
	<property name="nazev" column="nazev"/>
franta-hg@39
    12
	<property name="popis" column="popis"/>
franta-hg@39
    13
	<property name="url" column="url"/>
franta-hg@39
    14
	<property name="datum" column="datum"/>
franta-hg@39
    15
	<property name="ulice" column="ulice"/>
franta-hg@39
    16
	<property name="cisloPopisne" column="cislo_popisne"/>
franta-hg@39
    17
	<property name="mesto" column="mesto"/>
franta-hg@28
    18
    </class>
franta-hg@28
    19
</hibernate-mapping>