public class JDBCUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Statement |
createStreamingStatement(Connection conn,
boolean update)
Returns a statement which tries its best to stream data.
|
public static Statement createStreamingStatement(Connection conn, boolean update) throws SQLException
Note that in some cases the supplied connection may have its autocommit mode modified by this call.
conn
- connectionupdate
- true for an updatable set, false for read-onlySQLException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.