Hi Michael,

The ODMG exceptions do contain the original SQL exceptions to provide user
with helpful information.
I think you could easily patch the RollbackException to wrap the odm
exception.

cu,
Thomas

> -----Original Message-----
> From: Michael Becke [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2003 8:35 PM
> To: OJB Users List
> Subject: SQL Exception
> 
> 
> Hello,
> 
> I'm using OJB rc4 with the ODMG api and J2EE transactions.  Currently 
> when a SQL exception occurs on javax.transaction.Transaction 
> commit all 
> I get back is a javax.transaction.RollbackException, which does not 
> contain the original exception.  Is there any way to get 
> access to the 
> original exception that occurs?
> 
> Thanks,
> 
> Mike
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to