SQL : SQLInsertClause.executeWithKeys throws Exception

Bug #623933 reported by Timo Westkämper on 2010-08-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

The Exception occurs with MySQL :

java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().

Fixed by adding the proper flags when keys are returned

Changed in querydsl:
status: New → Fix Committed

Released in 1.9.1

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers