mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 00:46:27 -04:00
- Activat support for getGeneratedKeys() for prepared statements, which is
supported as well as the non-prepared statement case, but it was currently returning a not implemented exception. PR: 137001 Submitted by: Lapo Luchini <lapo@lapo.it> (maintainer)
This commit is contained in:
parent
9477d933b7
commit
b0547724b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238460
2 changed files with 15 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= sqlitejdbc
|
||||
PORTVERSION= 056
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSIONSUFFIX= -src
|
||||
CATEGORIES= java databases
|
||||
|
|
14
java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java
Normal file
14
java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- src/org/sqlite/Conn.java.orig 2009-07-22 18:33:46.000000000 +0200
|
||||
+++ src/org/sqlite/Conn.java 2009-07-22 18:33:53.000000000 +0200
|
||||
@@ -214,7 +214,10 @@ class Conn implements Connection
|
||||
ResultSet.CONCUR_READ_ONLY);
|
||||
}
|
||||
public PreparedStatement prepareStatement(String sql, int autoC)
|
||||
- throws SQLException { throw new SQLException("NYI"); }
|
||||
+ throws SQLException {
|
||||
+ return prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY,
|
||||
+ ResultSet.CONCUR_READ_ONLY);
|
||||
+ }
|
||||
public PreparedStatement prepareStatement(String sql, int[] colInds)
|
||||
throws SQLException { throw new SQLException("NYI"); }
|
||||
public PreparedStatement prepareStatement(String sql, String[]
|
Loading…
Add table
Reference in a new issue