-->
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.  [ 5 posts ] 
Author Message
 Post subject: is it ok for hibernate to do a System.exit?
PostPosted: Fri Jul 15, 2005 8:04 pm 
Newbie

Joined: Thu Jul 14, 2005 8:21 pm
Posts: 9
I recently found out that hibernate (through antlr) does System.exit's on errors. I think this is absurd for a shared component. It should never take such drastic measures but just propogate the error using Exceptions.

Comments?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 2:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
huh? where?


Top
 Profile  
 
 Post subject: not found
PostPosted: Sat Jul 16, 2005 9:19 am 
Beginner
Beginner

Joined: Wed Jun 01, 2005 6:51 pm
Posts: 27
Location: Philippines
I have seen this in OTHER systems, especially in demonstration clients and test applications, so I would not be surprised to find it.

I just did a search in the entire hibernate source tree for "system.exit" and did NOT get a hit, FYI

_________________
Mike "Ollie" Oliver


Top
 Profile  
 
 Post subject: No it was case insensitive search
PostPosted: Sat Jul 16, 2005 9:21 am 
Beginner
Beginner

Joined: Wed Jun 01, 2005 6:51 pm
Posts: 27
Location: Philippines
also FYI

_________________
Mike "Ollie" Oliver


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 1:30 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Fixed by subclassing the panic methods of antlr.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.