Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Oracle Cursor Vs Array

 
Babji Reddy
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JDBC using Oracle Oci driver
Which one does perform better processing multiple (thousands) records?
Using cursor of records (using ResultSet)
or
Array of objects (using ARRAY of STRUCT )
Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34384
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Babji,
I have no idea, but to help others who might - what are you trying to do? A select, an update, an insert, ...?

You could also try it by writing a simple program that does it both ways.
 
Babji Reddy
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mostly its selects, but there could be few inserts too.
I want to know the standarad practise that people use in enterprise applications.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic