You can put in a hook into the ExceptionPresenter or wrap your call with a try/catch block. The HibernateService class can be found at:
http://svn.javaforge.com/svn/hivemind/hivemind-utils/trunk/src/main/java/com /javaforge/hivemind/util/HiveMindService.java The username/password is anonymous/anon. -----Original Message----- From: Xiaoshu Wang [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 9:03 PM To: [email protected] Subject: tapernate question Hi, I am playing around Tapernate, which I have a question to ask. It seems that the exception thrown by a database query would not be able to be catched at the application level. For isnstance, I justed added a unique constraints on the Message.value property. If I ever try to created a message that has a duplicated value with an existing Message, it break the application. I didn't find a way to catch the exception. Is this expected behavior or not? Also, where I can find the source code for the HibernateService? Thanks, XW --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
