Hi
I am sure this question might have already asked/answered. If someone can point me any documentation or answer that will be great.
Basically, I would like to write a native SQL using hibernate to update selective columns in one of my tables. Eg, I have a table TableA with 132 columns and I want to update only few columns, like modified_dt. When I use HIbernate its HQL updates all the columns of this table (or only modified columns when I use dynamic-update). But I want to write the SQL like
update TableA set Modified_dt = CURRENT TIMESTAMP.
Currently I am using separate JDBC connection to achieve this.
Please help me.
Thanks
|