root / trunk / src / java / hibernate.hbm.xml @ 13
History | View | Annotate | Download (892 Bytes)
1 | 9 | andrej.cim | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
|
||
3 | <hibernate-mapping>
|
||
4 | <class name="org.lidar.db.Log" table="log"> |
||
5 | <id column="id" name="id"> |
||
6 | <generator class="increment"/> |
||
7 | </id>
|
||
8 | <property name="date"/> |
||
9 | <property name="type"/> |
||
10 | <property name="message"/> |
||
11 | </class>
|
||
12 | <!--<class name="org.lidar.db.Client" table="client">
|
||
13 | <id column="id" name="id">
|
||
14 | <generator class="increment"/>
|
||
15 | </id>
|
||
16 | <property name="key"/>
|
||
17 | <property name="token"/>
|
||
18 | </class>-->
|
||
19 | <class name="org.lidar.db.AuthTokens" table="authentiaction_token"> |
||
20 | <id column="id" name="id"> |
||
21 | <generator class="increment"/> |
||
22 | </id>
|
||
23 | <property name="token"/> |
||
24 | <property name="access"/> |
||
25 | <property name="ip"/> |
||
26 | </class>
|
||
27 | </hibernate-mapping> |