user questions should be asked on the user forum for forum.hibernate.org=
/max
>
> i am using Dynamic-update property in the mapping file of hibernate so=
=
> that
> only the required columns are updated, but when i look at the log, all=
=
> the
> columns are being updated, where as only the modifed should have been
> updated as per meant by the use of Dynamic-update property. Can any on=
e =
> tell
> me why the Dynamic -update property is not working. Any help would be
> appreciated.
>
> This is the Mapping file.
>
> -------------------------------------------- Mapping File
> --------------------------------------------
> <?xml version=3D"1.0"?>
> <!DOCTYPE hibernate-mapping PUBLIC
> "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
> "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
>
> <hibernate-mapping>
> <class
> name=3D"dao.Person"
> dynamic-insert=3D"true"
> dynamic-update=3D"true"
> table=3D"HIBERNATE_TEST">
> <id name=3D"id" column=3D"ID" type=3D"long">
> <generator class=3D"increment">
> =
> </generator>
> </id>
> =
>
> <property column=3D"NAME" name=3D"name" type=3D"string"/>
> <property column=3D"AGE" name=3D"age" type=3D"string"/>
> <property column=3D"SCHOOL" name=3D"School" type=3D"string"/>
> <property column=3D"COLLEGE" name=3D"College" type=3D"string"/>
> </class>
> </hibernate-mapping>
>
> ----------------------------------------------------------------------=
----------------------------------------
>
>
-- =
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
ma...@hi...
http://hibernate.org
JBoss Inc
max...@jb...
|