SQL : Batch support for Merge clause

Bug #636516 reported by Timo Westkämper on 2010-09-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Unassigned

Bug Description

Batch support for Merge clause

Added support :

    @Test
    public void mergeBatch(){
        SQLMergeClause merge = merge(survey)
            .keys(survey.id)
            .set(survey.id, 5)
            .set(survey.name, "5")
            .addBatch();

        merge
            .keys(survey.id)
            .set(survey.id, 6)
            .set(survey.name, "6")
            .addBatch();

        assertEquals(2, merge.execute());
    }

Changed in querydsl:
status: New → Fix Committed
Changed in querydsl:
importance: Undecided → Medium

Released in 1.9.7

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