jdbi: org.jdbi.v3.core.statement.UnableToExecuteStatementException:

`org.jdbi.v3.core.statement.UnableToExecuteStatementException: Unable to execute, no named parameter matches “ledger.id” and no positional param for place 0 (which is 1 in the JDBC ‘start at 1’ scheme) has been set. [statement:“insert into LEDGERS(id, name, description, meta) values (:ledger.id, :ledger.name, :ledger.description, :ledger.meta)”, rewritten:“insert into LEDGERS(id, name, description, meta) values (?, ?, ?, ?)”, arguments:{ positional:{}, named:{}, finder:[{lazy bean property arguments “Ledger(super=CommonData(id=6AX9M3K8ZRL62IW4O2JMQGQ5I, name=Example ledger, description=This is a simple description, meta=null, deleted=false), ledgerBalance=null)”]}]

I am trying to insert data into a database but keep getting the above error. I want to know if the @BindBean supports @Data of lombok on the entity field. `

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

Okay guys … you’ve been of great help. Thank you very much.