PL/SQL exception and Java programs
        Posted  
        
            by edwards
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by edwards
        
        
        
        Published on 2010-03-14T11:04:42Z
        Indexed on 
            2010/03/14
            14:55 UTC
        
        
        Read the original article
        Hit count: 274
        
Hi
Business logic is coded in pl/sql packages procedures and functions. Java programs call pl/sql packages procedures and functions to do database work.
pl/sql programs store exceptions into Oracle tables whenever an exception is raised.
How would my java programs get the exceptions since the exception instead of being propagated from pl/sql to java is getting persisted to a oracle table and the procs/functions just return 1 or 0.
Sorry folks i should have added this constraint much earlier and avoided this confusion. As with many legacy projects we don't have the freedom to modify the stored procedures.
© Stack Overflow or respective owner