SpringSource/spring-security-oauth — pull request #1 by habuma (2011-10-14 18:07:15+00:00)
Title: Read column data by position instead of by name

Changed JdbcClientDetailsService and JdbcOAuth2ProviderTokenServices to read column data out of result sets by position instead of by name for more flexibility in defining custom SQL.

By name requires that the custom table still have the same column names, but by position only requires that the query contain the same data in the same positions within the result set. If reading by column name, it limits the usefulness of the custom SQL properties on those classes.

For reference: Spring Security's JdbcDaoImpl uses by position for this same reason.