MySQL Forums
Forum List  »  MyISAM

Re: large tables, large keycaches
Posted by: Roland Bouman
Date: July 28, 2005 06:38PM

Does it not take advantage of the generic java interface?

I mean,

import java.sql.*;

Connection conn;
//init conn
...
PreparedStatement pstmt = conn.prepareStatement("SELECT * FROM somtable WHERE someStringColumn = ?");
pstmt.setString(1,"myValue");
ResultSet rst = pstmt.executeQuery();
//traverse the resultset:
while (rst.next()){
//do stuff with this current row
}

Options: ReplyQuote


Subject
Views
Written By
Posted
9174
July 25, 2005 09:12PM
3186
July 26, 2005 08:43AM
3128
July 26, 2005 10:37AM
2994
July 26, 2005 11:49AM
2721
July 26, 2005 02:27PM
2796
July 26, 2005 04:36PM
2474
July 27, 2005 10:49AM
2495
July 27, 2005 03:52PM
Re: large tables, large keycaches
2459
July 28, 2005 06:38PM
2516
August 02, 2005 08:04PM
2614
July 26, 2005 10:51AM
2461
July 27, 2005 07:48AM
2549
July 28, 2005 01:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.