Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] A warning on SQL exception?

Hello Shashi,

EclipseLink should rethrow all exceptions from the database back to the application, or give the opportunity for the application to intercept them if an exception handler is registered.   Could it be the application or the server is catching and ignoring them?  Are the stack traces from the exception being printed or is it just the message?  If it is being printed, please send it, and try to look at the calling methods to see if any of them could be catching and not rethrowing the exception. 

Best Regards,
Chris

On 02/07/2010 2:17 AM, Shashikant Kale wrote:

Hi,

 

We are using eclipselink 1.2.0. I have a basic query regarding SQL exception.

 

I found that if any column doesn’t exist in the table or some primary key already existing in the table, eclipselink shows a warning in the log, however doesn’t throw any exception back to the calling code. However this leads to erroneous execution in our programs. Is this something configurable?

 

Kindly let me know.

 

Regards,

Shashi


_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users

Back to the top