<?xml version="1.0" encoding="UTF-8"?> <hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd"> <class entity-name="com.beecode.inz.message.datamodel.RemPartRelation" table="inz_common_remind_participator" > <tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/> <id name="id" type="uuid-binary" column="id" length="16"> <generator class="uuid2" /> </id> <property name="participateType" type="nstring" not-null="true"> <column name="participate_type" length="50"></column> </property> <property name="participateId" type="nstring" not-null="true"> <column name="participator_id" length="40"></column> </property> <property name="remindId" type="nstring" not-null="true"> <column name="remind_id" length="40"></column> </property> </class> </hibernate-mapping>