日期:2014-05-20 浏览次数:20862 次
<hibernate-mapping> <class name="com.fwzl.system.entity.User" table="t_sys_user"> <id name="userId" column="user_id" type="java.lang.Integer"> <generator class="sequence"> <param name="sequence">SEQ_SYS_USER</param> </generator> </id> <property name="roleId" type="java.lang.Integer" column="user_roleid" /> <property name="drId" type="java.lang.Integer" column="USER_DATAROLEID" /> <property name="loginName" type="java.lang.String" update="true" insert="true" column="user_loginname" /> <property name="userPassword" type="java.lang.String" update="true" insert="true" column="user_password" /> <property name="userName" type="java.lang.String" update="true" insert="true" column="user_name" /> </class> </hibernate-mapping>