<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="cn.net.openid.domain">
	<class name="AttributeValue" table="openid_attribute_value">
		<composite-id>
			<key-many-to-one name="user" column="user_id" />
			<key-many-to-one name="attribute" column="attribute_id" />
			<key-property name="index" column="attribute_value_index" />
		</composite-id>
		<many-to-one name="user"></many-to-one>
		<property name="value" column="attribute_value" />
	</class>
</hibernate-mapping>

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="cn.net.openid.domain">
	<class name="AttributeValue" table="openid_attribute_value">
		<composite-id>
			<key-many-to-one name="user" column="user_id" />
			<key-many-to-one name="attribute" column="attribute_id" />
			<key-property name="index" column="attribute_value_index" />
		</composite-id>
		<property name="value" column="attribute_value" />
	</class>
</hibernate-mapping>

Fix hibernate maping for AttributeValue.
Fix hibernate maping for AttributeValue.
