changeset 1838:ffca75e80799 default tip

revert
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 17 Jan 2025 22:46:35 -0700
parents 318068396976
children
files src/luan/modules/sql/Database.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/sql/Database.java	Fri Jan 17 21:38:32 2025 -0700
+++ b/src/luan/modules/sql/Database.java	Fri Jan 17 22:46:35 2025 -0700
@@ -77,7 +77,7 @@
 
 	public ResultSet query(String sql,Object... args) throws SQLException {
 		if( args.length == 0 ) {
-			Statement stmt = con.createStatement(ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY,ResultSet.HOLD_CURSORS_OVER_COMMIT);
+			Statement stmt = con.createStatement();
 			fix(stmt);
 			return stmt.executeQuery(sql);
 		} else {