xml version DOCTYPE hibernate-mapping PUBLIC Hibernate Hibernate Mappi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="ru.golodnyj.days.beans">
<class name="ru.golodnyj.days.beans.User" table="users" lazy="false">
<id name="uid" type="integer" column="uid" unsaved-value="null">
<generator class="increment"/>
</id>
<property name="ulogin" column="ulogin" type="string"></property>
<property name="upassword" column="upassword" type="string"></property>
</class>
</hibernate-mapping>