Unix Technical Forum

Problems catching Overflow 1426 jdbc

This is a discussion on Problems catching Overflow 1426 jdbc within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi, during an simple INSERT into table in a stored function, a ORA 1426 is raised. Thats OK, I ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-13-2008, 10:46 AM
Carsten Broschek
 
Posts: n/a
Default Problems catching Overflow 1426 jdbc

Hi,

during an simple INSERT into table in a stored function,
a ORA 1426 is raised. Thats OK, I already identified the
column that is exceeded.
I am surprised about the fact, that if I trigger my
stored function from sqlplus, my pl/sql routine catches
the exception and returns properly. The same trigger from
out an java-application via jdbc, seems not to catch
the overflow, does not end and I retrieve sqlexception
because of closed connection later on.

Snippet from pl/sql:

[...]
EXCEPTION
WHEN OTHERS THEN
BEGIN
ROLLBACK;
SP_LogError('SF_DO_SOMETHING ['||depotID_i||']',SQLERRM, SQLCODE);
commit;
RETURN FAILED;
END;
END SF_DO_SOMETHING;

Oracle: 10.1.0.5.0
Java: java version "1.5.0_12"

Thanks for hints in advance!

CARSTEN

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Problems catching Overflow 1426 jdbc

Thread Thread Starter Forum Replies Last Post
[Bug 1426] New: Bluetooth SDP never loads when Iopen a .cap file bugzilla-daemon@wireshark.org Wireshark bugs 5 10-04-2008 09:52 PM
[SECURITY] [DSA 1426-1] New qt-x11-free packagesfix several vulnerabilities Moritz Muehlenhoff Bugtraq Full-disclosure 0 07-02-2008 09:02 AM
[SECURITY] [DSA 1426-1] New qt-x11-free packages fix several vulnerabilities Moritz Muehlenhoff Bugtraq 0 07-01-2008 08:25 PM
BUG #1426: pg_restore SIGSEGV on 7.2.2 dump Alan Pevec pgsql Bugs 1 04-10-2008 09:28 AM
Problems with JDBC okai SQL Server 1 02-28-2008 06:16 PM


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com