I'm using the PB API (apparently on 0.99, but I'll try out the latest 1.0RC2 to make sure nothing has changed).
I turned on full DEBUG for pretty much everything, and the only thing that I can tell is that once the first store call is made, a select statement is issued by OJB, but nothing after that. No insert statement, no additional select statements on following store calls - nothing. No exceptions are generated and no stacktraces are printed. If it makes any difference, the object/table itself has no foreign key relationships. God bless, -Toby Reyelts -----Original Message----- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:40 AM To: OJB Users List Subject: Re: No exception on constraint failure? Hi Toby, do you use the latest version of OJB? Which API - PB or ODMG? Does OJB any logging output? Strack trace? regards, Armin ----- Original Message ----- From: "Toby Reyelts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 10:01 PM Subject: No exception on constraint failure? > > I'm using OJB, and I'm finding that when I try to store a new object, and > perform a commit, the object is actually not being stored in the database > even though no exceptions are being thrown. It appears that the problem was > that I was violating a constraint in the database (Oracle 9), but OJB was > suppressing the SQLException that was being raised. > > Does this sound familiar to anyone? Does anybody know how I can prevent OJB > from suppressing these important exceptions? > > God bless, > -Toby Reyelts > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
