Author Topic: "Statement GeneratedKeysNotRequested" error  (Read 3532 times)

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
"Statement GeneratedKeysNotRequested" error
« on: January 05, 2009, 09:54:27 »
If you installed QueueMetrics manually with a MySQL Connector/J version 5.x, you may have stumbled into the error:

Code: [Select]
Errore tecnico nella classe 'it.loway.app.queuemetrics.configurazione.cfg2.ptQueues'.
-- Inner Exception --
- Exception: it.loway.tpf.common.exceptions.TechException
- Stack trace:
- Problema update DB: java.sql.SQLException: !Statement.GeneratedKeysNotRequested!

The error appears when QM inserts a new row, e.g. by creating a new agent or a new queue.

This issue has been fixed for the next major release; if you are encountering it, just use a Connector/J version 3 for the moment.

http://dev.mysql.com/downloads/connector/j/3.0.html