Re: [hibernate-dev] HQL + numeric literal typing

2010-01-11 Thread Emmanuel Bernard
I guess the suffix solution is not harmful and we can always expose the more elaborate solution if needed later. On 11 janv. 2010, at 17:23, Steve Ebersole wrote: > I need to add a way to further define the type of numeric literals. > Currently HQL supports the use of the 'F', 'D' and 'L' suffix

[hibernate-dev] HQL + numeric literal typing

2010-01-11 Thread Steve Ebersole
I need to add a way to further define the type of numeric literals. Currently HQL supports the use of the 'F', 'D' and 'L' suffixes as defined by Java to demarcate floats, doubles and longs respectively. I find myself the need to do the same with BigInteger and BigDecimal. I see two options: 1