summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);