java/nekurak.net-ejb/src/conf/Uzivatel.hbm.xml
changeset 124 e720890878ac
child 145 0efefbf5f8b6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-ejb/src/conf/Uzivatel.hbm.xml	Tue May 25 17:16:36 2010 +0200
     1.3 @@ -0,0 +1,18 @@
     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.Uzivatel" table="uzivatel">
     1.9 +	<id name="id" column="id" type="integer">
    1.10 +	    <generator class="sequence">
    1.11 +		<param name="sequence">uzivatel_seq</param>
    1.12 +	    </generator>
    1.13 +	</id>
    1.14 +	<property name="prezdivka" column="prezdivka" unique="true"/>
    1.15 +	<property name="heslo" column="heslo"/>
    1.16 +	<property name="jmeno" column="jmeno"/>
    1.17 +	<property name="prijmeni" column="prijmeni"/>
    1.18 +	<property name="email" column="email"/>
    1.19 +	<property name="datum" column="datum"/>
    1.20 +    </class>
    1.21 +</hibernate-mapping>
    1.22 \ No newline at end of file