• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Result Set Portability

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading sun tutorial on jdbc.

Sun JDBC Tutorial

It contains the following statement.

For maximum portability, result set columns within each row should be read in left-to-right order, and each column should be read only once.

What is meant by ResultSet portability
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ResultSet portability

This phrase concerns the "portability" of the code that creates, reads and/or updates a ResultSet object. "Portability" is a descriptive term used to measure whether the code can be easily used with other relational database management systems and other JDBC Drivers, i.e. different systems than the ones originally used when code is first written.

This statement in the tutorial is a recommendation for how you can write the code that interacts with the JDBC API.
[ May 20, 2008: Message edited by: James Clark ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic