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

advertisement

AddThis Social Bookmark Button
Article:
  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;


than:


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. Java Stored Procedures
    2004-02-06 11:47:04  javid [View]

  2. Java Stored Procedures
    2003-10-27 11:56:37  anonymous2 [View]

1 to 2 of 2