As I expected, I am not able to update the objects returned in the query.list() call.
The update statement executes and I get no errors, but the data isn't changed because no record matched the where clause.
the where clause looks like where field1 = ? and field2 = ?....
But, since some of the values are null, it's not doing the right thing.
Is there a way to fix this? I know, don't have nulls in your key fields. Not my choice right now.
Perhaps the update-sql feature. Is that in the latest source? I'll have to build hibernate?
Enyone?
Thanks
Carl
|