QueueMetrics forum

QueueMetrics => QueueMetrics installation => Topic started by: QueueMetrics on January 05, 2009, 09:54:27

Title: "Statement GeneratedKeysNotRequested" error
Post by: QueueMetrics 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