Re: [hibernate-dev] @Spatials

2012-06-04 Thread Emmanuel Bernard
On 4 juin 2012, at 17:03, Hardy Ferentschik wrote: > > On Jun 4, 2012, at 4:51 PM, Emmanuel Bernard wrote: > >> I don't think it can be SpatialValue as the annotations: >> >> - marks the property describing the spatial coordinates >> - describes how the data will be indexed wrt spatial indexin

Re: [hibernate-dev] @Spatials

2012-06-04 Thread Hardy Ferentschik
On Jun 4, 2012, at 4:51 PM, Emmanuel Bernard wrote: > I don't think it can be SpatialValue as the annotations: > > - marks the property describing the spatial coordinates > - describes how the data will be indexed wrt spatial indexing (strategy + > fine tuning) > - describes the usual boost, et

Re: [hibernate-dev] @Spatials

2012-06-04 Thread Emmanuel Bernard
I don't think it can be SpatialValue as the annotations: - marks the property describing the spatial coordinates - describes how the data will be indexed wrt spatial indexing (strategy + fine tuning) - describes the usual boost, etc properties It's the sister of @Field but @SpatialField is wrong

Re: [hibernate-dev] @Spatials

2012-06-01 Thread Hardy Ferentschik
Without looking into the issue closer I like @SpatialValue also better. It seems more descriptive. Regarding @Spatials, I think @Spatial.List or even better @SpatialValue.List not too bad. the .List approach is the one taken in Bean Validation as well and @SpatialValue.List does not sound bad im

Re: [hibernate-dev] @Spatials

2012-06-01 Thread Sanne Grinovero
On 1 June 2012 14:49, Nicolas Helleringer wrote: > Hi all, > > I'm working on the programatic mapping of HSEARCH-923 (spatial support) and > I had to implements @Spatials for > @Spatial as @Fields is to @Field > > Emmanuel checked my work on my gtihub repo and some questions raised we > would like

Re: [hibernate-dev] @Spatials

2012-06-01 Thread Emmanuel Bernard
On 1 juin 2012, at 15:49, Nicolas Helleringer wrote: > - @Spatial is supported at entity level and at property level. But if it > seems ok for an entity to have multiples location > through @Spatials (think a user with a work and a personnal > address/position) it seems more weird to have @Spatia

[hibernate-dev] @Spatials

2012-06-01 Thread Nicolas Helleringer
Hi all, I'm working on the programatic mapping of HSEARCH-923 (spatial support) and I had to implements @Spatials for @Spatial as @Fields is to @Field Emmanuel checked my work on my gtihub repo and some questions raised we would like to share with you : - Is @Spatials the right name for such a p