ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Stored Procedures for Java Programmers
Subject:   Java Stored Procedures
Date:   2003-09-03 14:59:02
From:   nferrier
Response to: Java Stored Procedures

Primarily for the reason that I lay out in the article: PL/SQL expresses SQL much better than Java, I'd much rather write this:

open somecusor for select id from sometable;


Statement st = con.createStatement();
ResultSet rs = st.executeQuery("select id from sometable");

Apart from anything it's 55 less keypresses.

To be honest I'm not sure why anyone uses Java inside the database.

1 to 2 of 2
1 to 2 of 2