comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 434:57d46c34c649

default server reply size is 100, not -1
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Wed, 10 Feb 2021 09:26:02 +0100 (2021-02-10)
parents b31eaa9e958f
children 84f6d86ed590
comparison
equal deleted inserted replaced
433:b31eaa9e958f 434:57d46c34c649
117 // it does !!!NOW!!! (only when you deal with it of course) 117 // it does !!!NOW!!! (only when you deal with it of course)
118 /** A Map containing all (active) Statements created from this Connection */ 118 /** A Map containing all (active) Statements created from this Connection */
119 private final WeakHashMap<Statement,?> statements = new WeakHashMap<Statement, Object>(); 119 private final WeakHashMap<Statement,?> statements = new WeakHashMap<Statement, Object>();
120 120
121 /** The number of results we receive from the server at once */ 121 /** The number of results we receive from the server at once */
122 private int curReplySize = -1; // the server by default uses -1 (all) 122 private int curReplySize = 100; // server default
123 123
124 /** A template to apply to each query (like pre and post fixes), filled in constructor */ 124 /** A template to apply to each query (like pre and post fixes), filled in constructor */
125 // note: it is made public to the package as queryTempl[2] is used from MonetStatement 125 // note: it is made public to the package as queryTempl[2] is used from MonetStatement
126 final String[] queryTempl = new String[3]; // pre, post, sep 126 final String[] queryTempl = new String[3]; // pre, post, sep
127 127