Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Timestamp error #26

Open
Open
@rsasai

Description

@rsasai

Hi

It was all good with the combination of:

  • vert.x 2.0.2-final
  • jdbc-persister 2.1.2

I have updated vert.x:

  • vert.x 2.1.5
  • jdbc-persister 2.1.2

Then I am getting this error:
[com.bloidoniamod-jdbc-persistor2.1.2-com.bloidonia.vertx.mods.JdbcProcessor-1715900756] Caught error with SELECT
org.vertx.java.core.VertxException: Cannot have objects of class class java.sql.Timestamp in JSON
at org.vertx.java.core.json.JsonElement.convertMap(JsonElement.java:60)
at org.vertx.java.core.json.JsonObject.(JsonObject.java:56)
at org.vertx.java.core.json.JsonObject.(JsonObject.java:45)
at com.bloidonia.vertx.mods.JsonUtils.listOfMapsToJsonArray(JsonUtils.java:61)
at com.bloidonia.vertx.mods.JdbcProcessor$4.process(JdbcProcessor.java:277)
...

To be honest this is frustrating because the only thing I did was upgrading vert.x.
Would it be possible for your persister to handle this so clients don't have to change their code, please?

Thank you.
Uppsax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions