Re: [hibernate-dev] @IndexedEmbedded ids numeric in stead of Strings

2015-02-05 Thread Sanne Grinovero
On 4 February 2015 at 22:39, Hardy Ferentschik wrote: > On Wed, Feb 04, 2015 at 04:34:28PM -0200, Marc Schipperheyn wrote: >> Yeah, I'm now seeing that parent.id is not actually stored as numeric. >> However, when I project on it, it's returned as a Long for some reason. >> Hmm, confusing. Hi Mar

Re: [hibernate-dev] @IndexedEmbedded ids numeric in stead of Strings

2015-02-04 Thread Hardy Ferentschik
On Wed, Feb 04, 2015 at 04:34:28PM -0200, Marc Schipperheyn wrote: > Yeah, I'm now seeing that parent.id is not actually stored as numeric. > However, when I project on it, it's returned as a Long for some reason. > Hmm, confusing. I am also seeing some strange behaviour using projections when pla

Re: [hibernate-dev] @IndexedEmbedded ids numeric in stead of Strings

2015-02-04 Thread Marc Schipperheyn
Yeah, I'm now seeing that parent.id is not actually stored as numeric. However, when I project on it, it's returned as a Long for some reason. Hmm, confusing. ___ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/lis

[hibernate-dev] @IndexedEmbedded ids numeric in stead of Strings

2015-02-04 Thread Marc Schipperheyn
I'm noticing that on @IndexedEmbedded HSearch 5, an id reference is indexed as a numeric field, when, that same id is indexed as a string being a @DocumentId. I had some seemingly inconsistent behaviour in my tests so now I'm not so sure what is the intended behaviour? So, @Entity @Indexed public