|
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="Eucalypto.Profile.ProfileProperty, Eucalypto" table="ProfileProperty">
<id name="Id" column="Id" type="String" length="32" >
<generator class="uuid.hex">
<param name="format">N</param>
</generator>
</id>
<!-- fetch=join is used to load the object with the same query and without lazy initialization -->
<many-to-one name="User" fetch="join">
<column name="IdUser" unique-key="KeyUserProperty" not-null="true"/>
</many-to-one>
<property name="Name" type="String">
<column name="Name" unique-key="KeyUserProperty" not-null="true" length="100"/>
</property>
<property name="StringValue" column="StringValue" type="String" length="1073741823" />
<!-- the type="Binary" is not supported ?? -->
<property name="BinaryValue" column="BinaryValue" length="2147483647" />
</class>
</hibernate-mapping>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.