I'm not trying to be critical - I'm trying to be helpful by making a suggestion, or at least opening a dialog during which a better approach to the documentation can be found.
There's a point here where we have a communications mismatch and until we resolve it, we are going to be talking about different things. Let me try and explain (as a new user) how I read the manual and how my thought processes led me misinterpret it and why it should be rephrased.
I'm sure that I don't have to remind you that the manuals are more for newbies like myself than they are for people who already understand what the manual really means.
My situation was that I have an update that I want to perform and I don't know if the affected objects are in memory or not. If they aren't in memory there's no reason to load them and if they are, I want to update the in-memory copy as well as the copy on disk.
So I go looking in the manual and there's a section "Bulk Updates" and I read through it and find the secion on DML style operations and I read the first paragraph and it appears to be saying that it is exactly what I want. Only, of course, we both know that it isn't, that the HQL they're talking about only updates the data on disk - but allows some useful and expresive query constructs that aren't part of standard SQL.
Just to be clear, I think that the kind of updating that you are refering to is covered in section 13.2 - Batch Updates.
Donald
[edited to fix grammar error]
Last edited by DMcLeanATstsci on Tue May 09, 2006 9:12 am, edited 1 time in total.
|