Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.help Subject: Re: Can a ResultSet be passed back to a main program Date: Wed, 12 Oct 2011 10:28:01 -0700 (PDT) Organization: http://groups.google.com Lines: 27 Message-ID: <31937488.2.1318440481728.JavaMail.geo-discussion-forums@prho12> References: <4e92594f$0$14660$9a566e8b@news.aliant.net> <5dhb979a5i76gclvkiqb5dn0cmfshmgqks@4ax.com> Reply-To: comp.lang.java.help@googlegroups.com NNTP-Posting-Host: 2620:0:1000:fd42:224:d7ff:fe69:5838 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1318441917 17159 127.0.0.1 (12 Oct 2011 17:51:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 12 Oct 2011 17:51:57 +0000 (UTC) In-Reply-To: <5dhb979a5i76gclvkiqb5dn0cmfshmgqks@4ax.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2620:0:1000:fd42:224:d7ff:fe69:5838; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1249 Roedy Green wrote: > Linus Flustillbe wrote, quoted or indirectly quoted someone who said : >>1. Create a class that >> a) creates a connection to an oracle database >> b) run a simple query to get a result set >> c) pass the result set back to a calling program. > > see sample code at http://mindprod.com/jgloss/jdbc.html > http://mindprod.com/jgloss/sql.html > > You have an Oracle database and you are a newbie? Normally only big > companies have them. And individual developers. Given that Oracle makes it available for free and all. Admittedly it can only handle 11 GB of data in the free version, but that's usually enough to develop an application. IBM gives away DB2, too, and without database size restrictions. -- Lew