|
From: Max R. A. <max...@jb...> - 2006-05-10 14:57:19
|
On Wed, 10 May 2006 16:45:02 +0200, Emmanuel Bernard <emm...@jb...> wrote: > Yes at least we must not release another core version until we find a > solution Again why are you using this function at *config* time ? What is this feature that is in annotations and not in the core ? Anyhow a workaround is: formulaString = Template.renderWhereStringTemplate( formulaString, "$alias$", new HSQLDialect(), new SQLFunctionRegistry( new HSQLDialect(), Collections.EMPTY_LIST) ); which is just as much a hack like the existing dummy new HSQLDialect() you have ;) /max > > > -----Original Message----- > From: Max Rydahl Andersen <max...@jb...> > To: Emmanuel Bernard <emm...@hi...>; Hibernate development > <hib...@li...> > Sent: Wed May 10 09:24:46 2006 > Subject: Re: [Hibernate] Issue with pluggable functions > > > ...so I apparently did not have the latest-latest of annotations checkked > out when i added this; sorry! > > Is it a show-stopper ? > >> public static String renderWhereStringTemplate(String sqlWhereString, >> Dialect dialect, *SQLFunctionRegistry functionRegistry*) >> >> >> Breaks binary compatibility with Hibernate Annotations 3.2.0.CR1 > > > -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate ma...@hi... http://hibernate.org JBoss Inc max...@jb... |