Shortcut for null constants in insert clause

Bug #775520 reported by Samppa Saarela
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

When executing insert with select containing constants that may optionally be null, one get's following NPE.

insert.columns(x, y, z).select(qry.list(x, null, z)):

java.lang.NullPointerException
 at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:91)
 at com.mysema.query.sql.SQLSerializer.serializeForQuery(SQLSerializer.java:204)

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Fixed in SVN trunk

Changed in querydsl:
status: New → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.2.0.beta5

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.