[CONJ-238] Problem with MariaDB-java-client-1.3.3.jar and PreparedStatement Created: 2015-12-29 Updated: 2016-06-26 Resolved: 2015-12-31 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 1.3.3 |
| Fix Version/s: | 1.3.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Régis Augui | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Os : CentOS Linux release 7.2.1511 (Core) |
||
| Description |
|
Hi, The following example works well with mysql-connector-java-5.1.38-bin.jar Here is the error: Thanks example :
|
| Comments |
| Comment by Diego Dupin [ 2015-12-29 ] | ||
|
Bug reproduced. First thought is that Driver must handle insert ... select request differently (client prepared, not server), but to be checked. | ||
| Comment by Diego Dupin [ 2015-12-31 ] | ||
|
Specific queries cannot be prepare on server side. For this specific case, use Client preparation. | ||
| Comment by Diego Dupin [ 2016-06-26 ] | ||
|
Problem concern the unknown "?" parameter
Casting correct the behaviour :
|