Version: H3.0.5
Mapping Documents: NA
Code Between.. : NA
Full stack trace:
DBVersion: Oracle 9i
I have been working with Hibernate 3.0.5, trying to convert some joins from the 2.1.7 style into the less-forgiving 3.0.5 version. What an aggravating experience. I tried HQL, but found that did not use the ON keyword. Then, I tried the Native SQL.
I'm not writing to point to any particular problem. Here is the greater issue. So many times while working with Hibernate, I get back these completely cryptic messages that tell me, in effect, SOMETHING WAS WRONG. What? No guidance. Go to the exception log and it shows the SQL that was generated but NOTHING ELSE.
So, my point? For god sakes, please provide some feedback in your expceptions! If you find something wrong, then tell me what you didn't like!
I know this is what it's like being a pioneer... but for god's sake, please echo back the code that was in error. Give us a fighting chance to figure it out. I've bought the books: Hibernate in Action, looked at the reference documents, tried to step through your cryptic source, but I have no idea what is going wrong. I have typed in examples from your notes and they don't work!
Hibernate team: if you have pride in your work, why don't you explain your exceptions better? Why not echo back the original cause of the problem.
Instead, we get: SOMETHING WAS WRONG. SORRY!
|