userinfo.hbm.xml

来自「基于Ajax的WebOS————PhoneShow案例」· XML 代码 · 共 30 行

XML
30
字号
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping SYSTEM
  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >

<hibernate-mapping>
  <class name="com.cownew.phoneshow.basedata.user.UserInfo" table="T_BS_User">  
  
    <id name="id" type="string" unsaved-value="null" >
        <column name="FId" sql-type="string" 
              not-null="true"/>
        <generator class="uuid.hex"/>
    </id>
    
     <property name="userId">
         <column name="FUserId" sql-type="string" not-null="true"/>
     </property>
    
     <property name="password">
         <column name="FPassword" sql-type="string" not-null="true"/>
     </property>
     
     <property name="email">
         <column name="FEmail" sql-type="string" not-null="true"/>
     </property>
     
     <property name="wallpaper">
         <column name="FWallpaper" sql-type="string" not-null="true"/>
     </property>
  </class>   
</hibernate-mapping>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?