Statistics
| Branch: | Revision:

m2u-upass-core / resources / my / com / upass / hibernate / TbAmVasco.hbm.xml @ 0:02300db8682b

History | View | Annotate | Download (2.02 KB)

1
<?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

    
4
<hibernate-mapping>
5
        <class name="my.com.upass.pojo.UserTokenBean" entity-name="vasco" table="TB_AM_VASCO">
6
                <id name="vserialNumber" type="string">
7
                        <column name="V_SERIAL_NO" length="22" />
8
                        <generator class="assigned" />
9
                </id>
10

    
11
                <property name="vdpModel" type="string">
12
                        <column name="V_DP_MODEL" length="5" />
13
                </property>
14
                <property name="vdpAuthMode" type="string">
15
                        <column name="V_DP_AUTH_MODE" length="2" />
16
                </property>
17
                <property name="vdpCipherText">
18
                        <column name="V_DP_CIPHERTEXT" not-null="true" />
19
                </property>
20
                <property name="vbkCipherText">
21
                        <column name="V_BAK_CIPHERTEXT" not-null="true" />
22
                </property>
23
                <property name="vassigned" type="integer">
24
                        <column name="V_DP_ASSIGNED" precision="1" not-null="true" />
25
                </property>
26
                <property name="vdateAssigned" type="timestamp">
27
                        <column name="V_DATE_ASSIGNED" />
28
                </property>
29
                <property name="vdateFirstUsed" type="timestamp">
30
                        <column name="V_DATE_FIRST_USED" />
31
                </property>
32
                <property name="vdateLastUsed" type="timestamp">
33
                        <column name="V_DATE_LAST_USED" />
34
                </property>
35
                <property name="vuseCount" type="integer">
36
                        <column name="V_USE_COUNT" precision="6" not-null="true" />
37
                </property>
38
                <property name="verrorCount" type="integer">
39
                        <column name="V_ERROR_COUNT" precision="2" not-null="true" />
40
                </property>
41
                <property name="vstate" type="integer">
42
                        <column name="V_DP_STATE" precision="1" not-null="true" />
43
                </property>
44
                <property name="vbatchNo" type="string">
45
                        <column name="V_BATCH_NO" length="8" />
46
                </property>
47
                <property name="vuserID" type="long">
48
                        <column name="V_USER_ID" precision="9" not-null="true" />
49
                </property>
50

    
51
                <many-to-one name="upassUser" class="my.com.upass.pojo.UserBean"
52
                        column="V_USER_ID" insert="false" update="false" fetch="join" />
53
        </class>
54
</hibernate-mapping>
55