From: Patrick E. (JIRA) <nh...@gm...> - 2011-05-29 16:01:41
|
[ http://216.121.112.228/browse/NH-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21218#action_21218 ] Patrick Earl commented on NH-2731: ---------------------------------- This is related to the HQL parameterized skip/take support. If somebody says skip 2 take 3, we might want the actual parameters used in the call to the database to be offset=3 (for OffsetStartsAtOne) and limit=5 (for UseMaxForLimit). Our implementation for HQL should be abstracting this and not passing the parameter values directly to the database. > Limit parameters should be updated on each query execution > ---------------------------------------------------------- > > Key: NH-2731 > URL: http://216.121.112.228/browse/NH-2731 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Patrick Earl > > Limits that are set as parameters should be adjusted according to the UseMaxForLimit and OffsetStartsAtOne parameters. Consider also cases where constants and parameters are mixed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |