HI
I am fairly new to hibernate and this forum.
I have read about dynamic-update and used in one of my hbm.cfg file. But unfortunately the I am getting the full update SQL generated for all the columns. Part of config file is here:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >
<hibernate-mapping>
<!--
Created by Middlegen Hibernate plugin
http://boss.bekk.no/boss/middlegen/
http://hibernate.sourceforge.net/
-->
<class
name="com.rhi.extsites.shared.entity.cr.CandtEmpmtExper"
table="CANDT_EMPMT_EXPER"
dynamic-update="true"
dynamic-insert="true"
>
<id
name="candtEmpmtExperId"
type="java.lang.Long"
column="CANDT_EMPMT_EXPER_ID"
>
<generator class="assigned" />
</id>
<property
name="startDt"
type="java.util.Date"
column="START_DT"
length="10"
/>
2. Is there any way to show the SQL with parameter value on it. For eg, I used TopLink and I see the SQLs there with value being embedded, like "update table set field="Test""
Thanks for your help