-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Lack of Detail in Hibernate Exception Messages
PostPosted: Tue Sep 13, 2005 5:04 pm 
Beginner
Beginner

Joined: Tue Sep 13, 2005 4:54 pm
Posts: 34
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!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 3:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Why don't you tell us what the less than perfect exceptions messages are ?

We cannot sit around generating every possible error situation in the world to cover all cases - if you had a bit pride in your self you had checked out the source code and applied a patch or at least went to the jira and realized that whenever someone suggests an improvement to exception messages that is better than the existing we actually apply it!

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Lack of Detail in Hibernate Exception Messages
PostPosted: Wed Sep 14, 2005 10:37 am 
Beginner
Beginner

Joined: Tue Sep 13, 2005 4:54 pm
Posts: 34
"if you had a bit pride in your self "

Max,
Is it really necessary to resort to a personal attack like this?
Of course I have read everything I can get my hands on.
Of course I have been wading through the souce code.
Of course I will now try to effect a patch.

Your rude comment is not necessary and it is not productive. You are listed as being a member of the Hibernate Team. In my professional life, I believe the word "team" means that you help one another. Your unnecessary rudeness has made me understand that this forum is a place for bullies such as yourself to waste my time. Enjoy your life.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 10:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
huh ? I only answered in the same tone as you ,)

If "if you have pride in your work" isn't a personal attack as much as yours I don't know.

in any case - just implying that we dont have any pride in our work is not going to help your, me nor the team in making the product better - you need to be more concrete...

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.