Shortcut for null constants in insert clause

Bug #775520 reported by Samppa Saarela on 2011-05-02
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)

Fixed in SVN trunk

Changed in querydsl:
status: New → Fix Committed

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  Edit
Everyone can see this information.

Other bug subscribers