Parametrized SQLQueryFactory

Bug #742415 reported by Samppa Saarela on 2011-03-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

SQLQueryFactory should allow parametrizing which SQLQuery implementation it returns. E.g. MySQLQueryFactory should return MySQLQueries:

public class SQLQueryFactory<Q extends AbstractSQLQuery, U extends SQLUpdateClause, D extends SQLDeleteClause...> {
...
}

Fixed in SVN trunk :

* public interface SQLQueryFactory<Q extends AbstractSQLQuery<?>,
    SQ extends AbstractSQLSubQuery<?>,
    D extends SQLDeleteClause,
    U extends SQLUpdateClause,
    I extends SQLInsertClause,
    M extends SQLMergeClause> {

* public class SQLQueryFactoryImpl implements SQLQueryFactory<SQLQueryImpl, SQLSubQuery, SQLDeleteClause, SQLUpdateClause, SQLInsertClause, SQLMergeClause>

* public class MySQLQueryFactory implements SQLQueryFactory<MySQLQuery, SQLSubQuery, SQLDeleteClause, SQLUpdateClause, SQLInsertClause, SQLMergeClause>{

Changed in querydsl:
status: New → Fix Committed

Released in 2.2.0-beta3

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