Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResultSet

 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Hi,
In JDBC API documentation, it states that "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."
Does "left-to-right order" mean the order of the columns listed in the SELECT statement?
Thanks
Mike
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe so, but this is the way I've always done it by default anyway
(i need a 'hmm' emoticon that is one step less than the confused image, like a thoughtful expression)
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MS SQL database requires that. I have also noticed that some MS SQL drivers require that result set returned from a stored procedure be read before any OUT parameters.
[ November 05, 2002: Message edited by: Pradeep Bhat ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic