From: Max R. A. (JIRA) <no...@at...> - 2006-05-08 21:02:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1727?page=all ] Max Rydahl Andersen closed HHH-1727: ------------------------------------ Resolution: Fixed Done. Currently only programmatically available. Do the following to get pre-H3.2 behavior: Configuration classicCfg = new Configuration(); classicCfg.addSqlFunction( "count", new ClassicCountFunction()); classicCfg.addSqlFunction( "avg", new ClassicAvgFunction()); classicCfg.addSqlFunction( "sum", new ClassicSumFunction()); sf = classicCfg.buildSessionFactory(); > Add a SQLFunctionRegistry > -------------------------- > > Key: HHH-1727 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1727 > Project: Hibernate3 > Type: New Feature > Components: core > Versions: 3.2.0.cr2 > Reporter: Max Rydahl Andersen > Fix For: 3.2.0 > > > been a long standing wish for having better configurability/programmatic control over how functions are handled. > We should introduce a SQLFunctionRegistry that can be used by the various components that need it - the cfg/sf can then control/override it independent of in cooperation with the Dialect. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |