diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2007-08-01 15:51:54 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2007-08-01 15:51:54 +0000 |
commit | 42eecb8f615abcb1a38fb42dbc9ac9fbe4e09686 (patch) | |
tree | 81ca0365409c26dd0c1c6711407ee19ca2b1b481 /src | |
parent | ac7e571ddd840edd35c2c2c0923161c3ce1bf385 (diff) |
Increased fetch size for column metadata.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java | 1 |
1 files changed, 1 insertions, 0 deletions
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);
|