mysema/querydsl — Issue #65: Support SearchResults with FactoryExpressions
Author: timowest
Created: 2011-12-06 22:09:32+00:00
State: open

Support SearchResults with FactoryExpressions

e.g.

SearchResults dtoResults = query.listResults(ConstructorExpression.create(Event.class, QFeedEvent.feedEvent));

where the Event is a DTO, but it fails as it tries to call Event constructor with the total as argument - the long value.