Benchmark Bad Example

Go back to: Code Samples
Statement stmt = con.createStatement();
\\Get start time
resultSet = stmt.executeQuery("SELECT acct.bal FROM table");
while (resultSet.next()) 
{}
\\Get finish time




Like what you see? Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis

Book Content Copyright © 2009 by Prentice Hall PTR. All rights reserved. | Corporate Sponsor DataDirect Technologies.