Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Joining ResultSet's

Reply
Thread Tools

Joining ResultSet's

 
 
Jesper Sahner
Guest
Posts: n/a
 
      10-20-2004
Hi!

Is it possible jo join ResultSet's inside Java in the same manner that
you join database-tables using JDBC?

Regards,
Jesper
 
Reply With Quote
 
 
 
 
John C. Bollinger
Guest
Posts: n/a
 
      10-20-2004
Jesper Sahner wrote:

> Is it possible jo join ResultSet's inside Java in the same manner that
> you join database-tables using JDBC?


The JDBC API does not provide a built-in means to do what you ask. You
should instead have the database perform the join, producing only one
ResultSet in the first place.


John Bollinger
http://www.velocityreviews.com/forums/(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Nathan Zumwalt
Guest
Posts: n/a
 
      10-21-2004
Are you trying to join ResultSets from disparate databases? You'll
probably need to read the contents of the ResultSets into arrays of
data objects and do the join programmatically.

//Nathan

"John C. Bollinger" <(E-Mail Removed)> wrote in message news:<cl6i4g$9fk$(E-Mail Removed)>...
> Jesper Sahner wrote:
>
> > Is it possible jo join ResultSet's inside Java in the same manner that
> > you join database-tables using JDBC?

>
> The JDBC API does not provide a built-in means to do what you ask. You
> should instead have the database perform the join, producing only one
> ResultSet in the first place.
>
>
> John Bollinger
> (E-Mail Removed)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Joining Wired and Wireless =?Utf-8?B?c3RlcGhlbl93cQ==?= Wireless Networking 2 12-04-2005 08:13 AM
Joining Files DTDoyle Firefox 1 10-17-2005 02:48 AM
Joining News Attachments How? Ed Firefox 0 12-21-2004 03:00 AM
HELP: Joining 5 large text files Stuart Perl 3 08-19-2004 06:23 PM
SubQuerying Vs Joining Awah Teh ASP .Net 2 10-30-2003 12:50 AM



Advertisments