From 42eecb8f615abcb1a38fb42dbc9ac9fbe4e09686 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Wed, 1 Aug 2007 15:51:54 +0000 Subject: Increased fetch size for column metadata. --- .../java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/amazon/carbonado') diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java index bc0c29a..84abe42 100644 --- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java +++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java @@ -259,6 +259,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector { if (resolvedTableName != null) { ResultSet rs = meta.getColumns(catalog, schema, resolvedTableName, null); + rs.setFetchSize(1000); try { while (rs.next()) { ColumnInfo info = new ColumnInfo(rs); -- cgit v1.2.3