Re: [hibernate-dev] HQL and spatial

2015-11-09 Thread Karel Maesen
Hi Steve, > On 02 Nov 2015, at 16:16, Steve Ebersole wrote: > > Any further thoughts? > > I looked over the link you gave in regards to literals, but did not fully > understand. I'd prefer this follow some "escape syntax" form, beyond that > maybe you could just

Re: [hibernate-dev] HQL and spatial

2015-11-09 Thread Steve Ebersole
On Mon, Nov 9, 2015 at 2:52 PM Karel Maesen wrote: > Hi Steve, > > > > On 02 Nov 2015, at 16:16, Steve Ebersole wrote: > > > > Any further thoughts? > > > > I looked over the link you gave in regards to literals, but did not > fully understand. I'd

Re: [hibernate-dev] HQL and spatial

2015-11-02 Thread Steve Ebersole
Karel, Any further thoughts? I looked over the link you gave in regards to literals, but did not fully understand. I'd prefer this follow some "escape syntax" form, beyond that maybe you could just enumerate the literal types you'd want to support and their formats. ALso, I have not seen any

Re: [hibernate-dev] HQL and spatial

2015-09-10 Thread Steve Ebersole
> > It is true that not all applications use spatial, or even that DB’s > support (all) spatial functions. But it would help to ensure consistency in > the available dialects. Now this consistency is tested for in the > integration tests, so not having this at the grammar isn’t a big problem. >

Re: [hibernate-dev] HQL and spatial

2015-09-09 Thread Karel Maesen
Hi Steve, > On 08 Sep 2015, at 22:29, Steve Ebersole wrote: > > What do you mean "have these functions integrated into HQL"? What you > describe is exactly how sql functions are supported as well. Perhaps you > mean defining standard support for spatial functions.

Re: [hibernate-dev] HQL and spatial

2015-09-08 Thread Steve Ebersole
What do you mean "have these functions integrated into HQL"? What you describe is exactly how sql functions are supported as well. Perhaps you mean defining standard support for spatial functions. As a corollary, take something like the ANSI SQL TRIM function. Not all databases support TRIM as

Re: [hibernate-dev] HQL and spatial

2015-09-02 Thread Karel Maesen
Hi Steve, Have a look at this table: http://www.hibernatespatial.org/documentation/03-dialects/01-overview/ It provides an overview of the HQL functions that are supported in Hibernate Spatial. They are currently registered into each concrete SpatialDialect. I think it might be a good start

[hibernate-dev] HQL and spatial

2015-08-25 Thread Steve Ebersole
Karel, etal We have discussed spatial-specific extensions to HQL for quite some time. But those discussions have always been kind of esoteric (boy wouldn't it be nice to have some spatial support in HQL). As we are working on redesigning the parsing and interpretation of HQL queries and since