Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by JulienHenry: http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource2 ------------------------------------------------------------------------------ import org.hibernate.criterion.Projections; import org.hibernate.criterion.Restrictions; - /** Grid data source that queries hiberante. It caches count and results, and is not suitable for reuse.*/ + /** Grid data source that queries hibernate. It caches count and results, and is not suitable for reuse.*/ public class HibernateEntityDataSource<T> implements GridDataSource { private final Class<T> persistentClass; @@ -112, +112 @@ criteria.add(criterion); } - /** The index must be between startIndex and endIndex provided in [EMAIL PROTECTED] #prepare(int, int, PropertyModel, boolean)} implemented from [EMAIL PROTECTED] GridDataSource#prepare(int, int, PropertyModel, boolean)}*/ + /** The index must be between startIndex and endIndex provided in [EMAIL PROTECTED] #prepare(int, int, List<SortConstraint>)} implemented from [EMAIL PROTECTED] GridDataSource#prepare(int, int, List<SortConstraint>)}*/ public Object getRowValue(int index) { return data.get(index-startIndex); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
