Prepare statement cache race condition
CONJ-259
Does not support TLSv1.2
CONJ-249
Failing to correctly identify CST(TimeZone)
CONJ-247
NPE during (quick?) init of JDBC driver/pool from JBoss
CONJ-186
Add kerberos authentication
CONJ-251
Tomcat doesn't stop when using Aurora failover configuration
CONJ-250
Check connection status before executing query
CONJ-245
NumberFormatException for getString from BigInt
CONJ-231
MariaDbDatabaseMetaData wrong TABLE_TYPE values in getTables() method
CONJ-218
Implement connectionAttributes
CONJ-217
Continue batch after error option
CONJ-213
CallableStatement must implement ServerPreparedStatement
CONJ-209
Windows CI builds integrated with Github
CONJ-205
Handle charset encoding other than UTF-8
CONJ-198
Handle external log implementation
CONJ-197
I hope to increase each execution of the sql log
CONJ-187
SSL option trustServerCertificate is broken
CONJ-183
JdbcURL should throw SQLException and not IllegalArgumentException
CONJ-181
MariaDB RT data insert/update with MVA fields
CONJ-169
Updates to DECIMAL field through Java Connector return "Method Not Yet Implemented" in LibreOffice Base
CONJ-165
Java client library does not support 'dialog' plugin.
CONJ-164
invalid callable syntax when function name is quoted with backticks
CONJ-161
ConnectionPoolTest should be rewored, disabled or removed
CONJ-160
getColumnDisplaySize() give back zero when column type is LONGVARCHAR
CONJ-148
result column splitting seems to fail (with BLOB's)
CONJ-146
getColumnClassName doesn't support all data types
CONJ-144
ResultSet.getTime() shouldn't convert TIME fields to the server time-zone
CONJ-143
Upgrade jna dependency to 3.5.2
CONJ-136
JDBC Connector : Invalid handling of UNSIGNED integers
CONJ-133
Wastage of memory
CONJ-110
MariaDB4j mention/link on MariaDB JDBC related doc/Wiki etc. pages
CONJ-87
Add jdbc nString, nCharacterStream, nClob implementation
CONJ-260
Aurora Connection.isValid specific implementation
CONJ-241
insert with no value on not null column accepted
CONJ-216
Implement a Text specific encoding
CONJ-214
Implement password encoding charset option
CONJ-212
It recommended that the project be transferred to github
CONJ-191
'getSqlState' vs 'getSQLState' in QueryException
CONJ-190
[Feature Request] fallback to socket connection if other type requested and fails
CONJ-174
[Feature Request] Implement a mechanism to bypass result set caching for streamed results
CONJ-173
mariadb-java-client-1.1.8 shows no tables in OpenOffice Base
CONJ-140
StreamingSelectResult does not implement isBeforeFirst() and similar methods
CONJ-138
JdbcRowSet does not convert getBytes to UTF8 like the MySQL connector
CONJ-130
java client fails to support socket authentication
CONJ-129
Optimize cached ResultSet memory footprint
CONJ-125
[Feature Request] Implement configurable fetch size and fetch direction for Statement/ResultSet
CONJ-26
issue 1 of 46

Prepare statement cache race condition

Description

A user report an bug in version 1.3.6 producing the following error :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 org.mariadb.jdbc.internal.util.dao.QueryException: Unknown prepared statement handler (16) given to mysqld_stmt_execute at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult (AbstractQueryProtocol.java:479) at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery (AbstractQueryProtocol.java:592) at sun.reflect.GeneratedMethodAccessor75.invoke (Unknown source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:497) at org.mariadb.jdbc.internal.failover.AbstractMastersListener.invoke (AbstractMastersListener.java:310) at org.mariadb.jdbc.internal.failover.FailoverProxy.invoke (FailoverProxy.java:134) at com.sun.proxy.$Proxy79.executePreparedQuery (Unknown source) at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal (MariaDbServerPreparedStatement.java:279) at org.mariadb.jdbc.MariaDbServerPreparedStatement.execute (MariaDbServerPreparedStatement.java:369) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute (ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute (Unknown source) at org.skife.jdbi.v2.SQLStatement.internalExecute (SQLStatement.java:1328) at org.skife.jdbi.v2.Query.fold (Query.java:173) at org.skife.jdbi.v2.Query.first (Query.java:273) at org.skife.jdbi.v2.Query.first (Query.java:264) at org.skife.jdbi.v2.sqlobject.ResultReturnThing$SingleValueResultReturnThing.result (ResultReturnThing.java:112) at org.skife.jdbi.v2.sqlobject.ResultReturnThing.map (ResultReturnThing.java:48) at org.skife.jdbi.v2.sqlobject.QueryHandler.invoke (QueryHandler.java:45) at org.skife.jdbi.v2.sqlobject.SqlObject.invoke (SqlObject.java:175) at org.skife.jdbi.v2.sqlobject.SqlObject$1.intercept (SqlObject.java:75)

Environment

None

Status

Assignee

Diego Dupin

Reporter

Diego Dupin

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

1.3.3
1.3.6
1.3.5
1.3.2
1.3.1
1.3.4

Priority

Blocker