On Thu, 01 Jun 2006 12:45:49 +0200, Christian Bauer <[EMAIL PROTECTED]> wrote:
> > On Jun 1, 2006, at 12:31 PM, Sylvain Vieujot wrote: > >> CompassHits hits = queryBuilder.bool() .addMust( queryBuilder.term >> ("name", "jack") ) .addMustNot( queryBuilder.term("familyName", >> "london") ) .toQuery() .addSort("familyName", >> CompassQuery.SortPropertyType.STRING) .addSort("birthdate", >> CompassQuery.SortPropertyType.INT) .hits(); > > (Note: Compass is a fork of the Hibernate codebase) > This looks to me like a new Criterion implementation, the rest is > regular Criteria API. But it needs an alternative rendering + loader. Hence my ref to exposing CustomQuery. -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate [EMAIL PROTECTED] http://hibernate.org JBoss Inc [EMAIL PROTECTED] _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel