<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Stored procedure versus Java Selects</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Fri, 24 May 2013 02:38:52 -0400</pubDate>


    <item>

        <title>Java selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[<p>more on&nbsp;<strong>Stored procedure versus Java Selects please!!</strong></p>
<p><a href="http://www.colemanworks.net/web-designs/" target="_blank">buffalo freelance web designer</a></p>]]></description>
        

        <pubDate>Fri, 04 Jan 2013 06:40:36 -0500</pubDate>

        

        <jf:creationDate>Fri, 04 Jan 2013 06:40:36 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 04 Jan 2013 06:40:36 -0500</jf:modificationDate>
        <jf:date>Jan 4, 2013</jf:date>
        <jf:author>colemanworks</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Abstraction</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[<blockquote><blockquote>One reason i can think of why you would use stored procedures for select statements is abstraction of the database structure.</blockquote>You can use views for abstraction, too.</blockquote><br>Yes, view can abstract in some...]]></description>
        

        <pubDate>Tue, 08 Mar 2005 02:12:18 -0500</pubDate>

        

        <jf:creationDate>Tue, 08 Mar 2005 02:12:18 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 08 Mar 2005 02:12:18 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2005</jf:date>
        <jf:author>sloppyseconds</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>SP</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[IMO the biggest problem with SP is that they can move the bussines logic from app server to DB<br><br>app servers have very good horizontal scalability and relatinal DBs still not (maybe Oracle 10grid has; any comments?) <br><br>therefore we are trying...]]></description>
        

        <pubDate>Sat, 05 Mar 2005 02:52:27 -0500</pubDate>

        

        <jf:creationDate>Sat, 05 Mar 2005 02:52:27 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 05 Mar 2005 02:52:27 -0500</jf:modificationDate>
        <jf:date>Mar 5, 2005</jf:date>
        <jf:author>damian frach</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[I would imagine some performance gains using Stored procedures. Someone on this thread referred to a nice article that provides numbers for SQL SPs on Oracle.<br><br>Can I safely assume the same numbers for COBOL Stored procedures ?  Am thinking they'd...]]></description>
        

        <pubDate>Thu, 03 Mar 2005 22:39:00 -0500</pubDate>

        

        <jf:creationDate>Thu, 03 Mar 2005 22:39:00 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 03 Mar 2005 22:39:00 -0500</jf:modificationDate>
        <jf:date>Mar 3, 2005</jf:date>
        <jf:author>Jeetendra Dassani</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Stored Procedures have a couple of advantages for read-only queries:<br><br>- Data access logic can be maintained in one place and re-used across multiple client applications (these could be Java apps or other languages)<br><br>- There are often...]]></description>
        

        <pubDate>Thu, 03 Mar 2005 15:56:35 -0500</pubDate>

        

        <jf:creationDate>Thu, 03 Mar 2005 15:56:35 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 03 Mar 2005 15:56:35 -0500</jf:modificationDate>
        <jf:date>Mar 3, 2005</jf:date>
        <jf:author>Andy Grove</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[I had a chance to perform a study for a client who (I kid you not) had about 600 Oracle stored procs that did nothing but running single select statement. I was not able to detect any performance/memory differences between running one of those procs and...]]></description>
        

        <pubDate>Thu, 03 Mar 2005 10:11:35 -0500</pubDate>

        

        <jf:creationDate>Thu, 03 Mar 2005 10:11:35 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 03 Mar 2005 10:11:35 -0500</jf:modificationDate>
        <jf:date>Mar 3, 2005</jf:date>
        <jf:author>Mikhail Garber</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored Procedures and Callable Statements</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Your tone is extremely patronizing. <br><br>I'd like to see some evidence for your '65 executions' claim.<br><br>Normally its Java developers who are responsible for coding queries, whether as Stored Procs or app code, so I'm not convinced by our second...]]></description>
        

        <pubDate>Thu, 03 Mar 2005 07:50:11 -0500</pubDate>

        

        <jf:creationDate>Thu, 03 Mar 2005 07:50:11 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 03 Mar 2005 07:50:11 -0500</jf:modificationDate>
        <jf:date>Mar 3, 2005</jf:date>
        <jf:author>adrian osullivan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored Procedures and Callable Statements</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[To convince you it's going to be hard.  You probably write very good SQL and you know how to tune with SQL hints.  That was me 6 months ago.  I'm a firm believer now in dumping the SQL queries because the stored pocedure queries are effective...]]></description>
        

        <pubDate>Wed, 02 Mar 2005 21:58:34 -0500</pubDate>

        

        <jf:creationDate>Wed, 02 Mar 2005 21:58:34 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 02 Mar 2005 21:58:34 -0500</jf:modificationDate>
        <jf:date>Mar 2, 2005</jf:date>
        <jf:author>David Whitehurst</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Think about having to repeat that query for every condition  for every sort order. Add to the mix that I cant parameterize &quot;fetch&quot; size in DB2 with static SQL SPs.<br><br>Also generally, selects could get really complex unlike...]]></description>
        

        <pubDate>Wed, 02 Mar 2005 18:43:22 -0500</pubDate>

        

        <jf:creationDate>Wed, 02 Mar 2005 18:43:22 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 02 Mar 2005 18:43:22 -0500</jf:modificationDate>
        <jf:date>Mar 2, 2005</jf:date>
        <jf:author>Jeetendra Dassani</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Kind of a silly one but, perhaps, consistency, and not abstraction, is the answer. If you are already keeping insert/update/delete activity in sprocs, why not keeps select statements there as well? Why have two separate places for SQL code? In a way,...]]></description>
        

        <pubDate>Wed, 02 Mar 2005 13:39:17 -0500</pubDate>

        

        <jf:creationDate>Wed, 02 Mar 2005 13:39:17 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 02 Mar 2005 13:39:17 -0500</jf:modificationDate>
        <jf:date>Mar 2, 2005</jf:date>
        <jf:author>Sam Wilson</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[If I recall correctly, MS SQL Server could not cache SQL statements (parse tree and execution plans) unless they were in a stored procedure - even if you used a PreparedStatement. So encapsulating them in a stored procedure was a great performance boost....]]></description>
        

        <pubDate>Tue, 01 Mar 2005 10:21:33 -0500</pubDate>

        

        <jf:creationDate>Tue, 01 Mar 2005 10:21:33 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 01 Mar 2005 10:21:33 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2005</jf:date>
        <jf:author>Bostjan Dolenc</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Well</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Sir, I fundamentally disagree with your assumptions<blockquote>The table and column names are now hard coded in your application.</blockquote>Its good practice to place SQL in config files (usually) rather than hardcode them. In terms of abstraction,...]]></description>
        

        <pubDate>Tue, 01 Mar 2005 09:57:59 -0500</pubDate>

        

        <jf:creationDate>Tue, 01 Mar 2005 09:57:59 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 01 Mar 2005 09:57:59 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2005</jf:date>
        <jf:author>adrian osullivan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Performance</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Maybee this article is of some help:<br><a href="http://www.oreilly.com/catalog/jorajdbc/chapter/ch19.html" target="_blank">http://www.oreilly.com/catalog/jorajdbc/chapter/ch19.html</a><br><br>It is an oracle bases article with some metrics on the oracle...]]></description>
        

        <pubDate>Tue, 01 Mar 2005 03:16:34 -0500</pubDate>

        

        <jf:creationDate>Tue, 01 Mar 2005 03:16:34 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 01 Mar 2005 03:16:34 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2005</jf:date>
        <jf:author>Arie van der Veek</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Stored procedure versus Java Selects</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[Regarding the abstraction thing - one can argue that select statements would be abstracted using Data Access Object patterns. That way they remain in only one layer and are not &quot;proliferated&quot;.<br><br>We use DB2 as backend and use cobol stored...]]></description>
        

        <pubDate>Mon, 28 Feb 2005 17:19:47 -0500</pubDate>

        

        <jf:creationDate>Mon, 28 Feb 2005 17:19:47 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 28 Feb 2005 17:19:47 -0500</jf:modificationDate>
        <jf:date>Feb 28, 2005</jf:date>
        <jf:author>Jeetendra Dassani</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Abstraction</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32141</link>

        

        
            <description><![CDATA[<blockquote>One reason i can think of why you would use stored procedures for select statements is abstraction of the database structure.</blockquote>You can use views for abstraction, too.]]></description>
        

        <pubDate>Mon, 28 Feb 2005 11:31:27 -0500</pubDate>

        

        <jf:creationDate>Mon, 28 Feb 2005 11:31:27 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 28 Feb 2005 11:31:27 -0500</jf:modificationDate>
        <jf:date>Feb 28, 2005</jf:date>
        <jf:author>Rod Johnson</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>



</channel>
</rss>

