Hi all,
Is it normal that when I delete an ItemSchedule from the database that the
LastUpdateDate of the items gets updated? The Item did not change because I
deleted an ItemSchedule right.?
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="Item, Framework" table="Item" optimistic-lock="version">
<id name="ItemId" column="ItemId" type="int">
<generator class="native">
<param name="sequence">S_ITEM</param>
</generator>
</id>
<version name="LastUpdateDate" column="LastUpdateTds" type="Timestamp"
unsaved-value="null" />
<property name="Title" column="Title" type="string" length="80"/>
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="ItemSchedule, Framework" table="ItemSchedule">
<composite-id>
<key-property name="PredecessorItemId" column="PredecessorItemId"
type="int"/>
<key-property name="SuccessorItemId" column="SuccessorItemId"
type="int"/>
</composite-id>
<many-to-one name="PredecessorItem" class="Item, Framework"
column="PredecessorItemId" insert="false" update="false" lazy="false />
<many-to-one name="SuccessorItem" class="Item, Framework"
column="SuccessorItemId" insert="false" update="false" lazy="false" />
</class>
</hibernate-mapping>
Thanks!
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.