QueueMetrics > QueueMetrics installation

"Statement GeneratedKeysNotRequested" error

(1/1)

QueueMetrics:
If you installed QueueMetrics manually with a MySQL Connector/J version 5.x, you may have stumbled into the error:


--- Code: ---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!

--- End code ---

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

Navigation

[0] Message Index

Go to full version