Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes nested result sets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "nested result sets" Watch "nested result sets" New topic
Author

nested result sets

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
Can this not be done and given correct info?
I have even tried makign each result set be called by its own Statement. Any ideas? Should this be avoided?
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

it is *usually* common practice to have many nested resultsets, each with their own Statement. I say *usually* because there are some substandard JDBC drivers that are also limited to 1 Statement to 1 Connection ! So check to make sure that your driver can handle multiple Statements for each Connection then query away!
Jamie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: nested result sets
 
Similar Threads
Help me to run my first JavaMail app
Finished 1.4 exam with 93%
Assertions
Doubt in Exceptions.
marcus green mock exam