summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-08-01 15:51:54 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-08-01 15:51:54 +0000
commit42eecb8f615abcb1a38fb42dbc9ac9fbe4e09686 (patch)
tree81ca0365409c26dd0c1c6711407ee19ca2b1b481 /src/main/java
parentac7e571ddd840edd35c2c2c0923161c3ce1bf385 (diff)
Increased fetch size for column metadata.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java1
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);