ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <tre...@athabascau.ca>
Subject Nested SQL exceptions and remote methods
Date Tue, 26 Jan 2010 06:11:51 GMT
Hi Guys,

I am using iBatis  And I wanted to throw this out there, as I know v3 is still
in beta.  However, I'm not sure if this would cause too major of a change at this point.

I was thinking, it may be nice if iBatis did not have it's own "nested" SQL exception, as
it causes problems with remote facilities such as RMI, and EJB.  If, for example, you catch
the exception, and propagate it to the client side, the client cannot find the class, as it
is only available on the remote server side.  And, there would be no reason that the client
should need to depend on iBatis.

So, it would be ideal, if only the SQLException was thrown, as it is resolvable on every JVM.

As it is currently, I am unable to nest the SQLException I get from iBatis, in my own exception
that gets propagated to the client side, due to this problem.

Also, it's very convenient for the entire stack trace to be shown on the client side, which
is part of the reason why I'm mentioning this at all.

Any thoughts?


Trenton D. Adams
Systems Analyst/Web Software Developer
Navy Penguins at your service!
Athabasca University
(780) 675-6195

    This communication is intended for the use of the recipient to whom it
    is addressed, and may contain confidential, personal, and or privileged
    information. Please contact us immediately if you are not the intended
    recipient of this communication, and do not copy, distribute, or take
    action relying on it. Any communications received in error, or
    subsequent reply, should be deleted or destroyed.

To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message