|
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<!-- Class name is the name of the Entity Class. And Insert the table name on which the Entity will be stored-->
<class name="SpringClient.Utility.Product.UProductDTO, SpringClient" table="UProduct">
<!-- The PRIMARY KEY specification. For the sake of simplicity I am using
the increment mode of ID Generation -->
<id name="ID" column="uproductID" unsaved-value="0">
<generator class="increment" />
</id>
<!-- Version Number is Important for the Data Concurrency-->
<version name="VersionNumber"/>
<property name="Name" column="name" not-null="true" unique="true" />
</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.