日期:2014-05-18 浏览次数:21073 次
<hibernate-mapping> <class name="com.eway.person.vo.Fingerprint" table="FINGERPRINT" dynamic-insert="true"> <id name="personno" type="java.lang.String"> <column name="PERSONNO" length="20" /> <generator class="native" /> </id> <property name="feature" lazy="true" type="org.springframework.orm.hibernate3.support.BlobByteArrayType"> <column name="FEATURE" /> </property> <property name="picturedata" lazy="true" type="org.springframework.orm.hibernate3.support.BlobByteArrayType"> <column name="PICTUREDATA" /> </property> <property name="photo" lazy="true" type="org.springframework.orm.hibernate3.support.BlobByteArrayType"> <column name="PHOTO" /> </property> <property name="regdate" type="java.util.Date"> <column name="REGDATE" length="7" not-null="true" /> </property> <property name="updateflag" type="java.lang.String"> <column name="UPDATEFLAG" length="10" /> </property> <property name="fingerfrom" type="java.lang.String"> <column name="FINGERFROM" length="1" not-null="true" /> </property> <property name="fingernum" type="java.lang.String"> <column name="FINGERNUM" length="40" not-null="true" /> </property> </class> </hibernate-mapping>