vert-x3 / vertx-jdbc-client

JDBC support for Vert.x
Apache License 2.0
126 stars 90 forks source link

sqlConnection.updateWithParams #308

Open bardiademon opened 1 year ago

bardiademon commented 1 year ago

Hi

I have a problem registering a value in Oracle My problem is: I want to store a UUID in a column, If this value is directly in the query, there is no problem and it will be registered, But when I put this value in a JsonArray and send it to updateWithParams, it gives me an "Invalid column" error. The problem is due to the presence of hyphen -.

Is there a solution to this problem?

Example: ae12364c-583e-4626-a57c-a646694f60f5 Vert.x Version: 4.2.3 Connection method: JDBCClient.createShared Use: sqlConnection.updateWithParams(query , params , resultHandler -> {

Now I tested with version 4.4.4 and it gave me the same error

tsegismont commented 1 year ago

Can you please share your table definition and query? Thank you