Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-14 Thread Nicolas Helleringer
> > maybe even simpler set a constant as the seed of your random > generator: should provide a reproducible sequence of values. /facepalm I should have guess that :s Niko > >> > >> On 11 May 2012 08:40, Nicolas Helleringer < > nicolas.hellerin...@gmail.com> > >> wrote: > >> > There, back and a

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-14 Thread Sanne Grinovero
On 14 May 2012 21:36, Nicolas Helleringer wrote: > Hi Sanne, > >> # Functionality >> Why is the number of documents fetched  via Degrees approximately half >> of what you're fetching via Radians? > > The test is randomized at this time. I do not have a fixed test set :s sorry > In one run the same

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-14 Thread Nicolas Helleringer
Hi Sanne, # Functionality > Why is the number of documents fetched via Degrees approximately half > of what you're fetching via Radians? > The test is randomized at this time. I do not have a fixed test set :s sorry In one run the same points are use for the 4 type of request. But switching radia

Re: [hibernate-dev] Multi-table Bulk Operations with Temporary Tables

2012-05-14 Thread Steve Ebersole
Hey Lukasz, Sorry I was sick last week so did not get to respond to you. Responses inline... On Sun 06 May 2012 10:11:23 AM CDT, Łukasz Antoniak wrote: > Hello all! > > I have just a very short question regarding concurrency aspects when > temporary tables are utilized to process multi-table

Re: [hibernate-dev] Memory consumption

2012-05-14 Thread Sanne Grinovero
On 14 May 2012 13:35, Steve Ebersole wrote: [cut] > Configuration is not kept around by Hibernate itself once the > SessionFactory is built.  Nor is SimpleValue.  And as Hardy already > mentioned, that code is undergoing major changes already for 5.0. Hibernate Search needs to keep a reference to

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-14 Thread Sanne Grinovero
Hi Nicolas, thanks for the numbers, very interesting. I have two main questions on this: # Functionality Why is the number of documents fetched via Degrees approximately half of what you're fetching via Radians? This seems to be true for both "Grid" and "DoubleRange", while the numbers (approxima

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Hardy Ferentschik
>>> +0,8 to optionally (with a boolean) enable interception on those >>> methods. I guess it might be handy, but I'm not fully convinced on >>> their use and it's yet-another-method, we're getting a bit complex. >>> At least it's better than always applying the interceptor as the >>> missing metho

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Sanne Grinovero
On 14 May 2012 15:50, Hardy Ferentschik wrote: > > On May 13, 2012, at 11:17 PM, Sanne Grinovero wrote: > >> I agree as a user it's not simple to deal with two "massindex" >> approaches, even worse if they behave differently. Your >> straight-forward take on it is to make sure they behave the same

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Hardy Ferentschik
On May 13, 2012, at 11:17 PM, Sanne Grinovero wrote: > I agree as a user it's not simple to deal with two "massindex" > approaches, even worse if they behave differently. Your > straight-forward take on it is to make sure they behave the same, and > I see some good value in it.. still we end up h

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Hardy Ferentschik
On May 14, 2012, at 4:22 PM, Sanne Grinovero wrote: > So the essential question is, for people using index / purge / > purgeAll, to have *manual* control.. by *manual* do we intend that the > user as the last word, or should we still apply interceptors? How does the her not have the last word if

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Sanne Grinovero
Right I didn't mean to imply that they are just "building blocks" for a do-it-yourself massindexer, just that that example using the scrollable resultset is an interesting example of how they can be used. So the essential question is, for people using index / purge / purgeAll, to have *manual* con

Re: [hibernate-dev] Memory consumption

2012-05-14 Thread Steve Ebersole
> - EntityPersisters contain SQL related strings which are never used. >For example: AbstractEntityPersister#temporaryIdTableDDL and >#temporaryIdTableName. It exists also in Hibernate 3. I know for sure >that this #temporaryIdTableDDL is never used in our application >as the datab

Re: [hibernate-dev] Absolute path to hibernate.cfg.xml

2012-05-14 Thread Dmitry Geraskov
Thanks, Steven, will do as you said next time :) And yes, I tried and haven't found a way to make this to work :( Dmitry 14.05.2012 15:15, Steve Ebersole wrote: > Did you try? Usually the easiest way to check :) > > But yes, it can be a absoulte path or even file:// url. > > Also, that is not

Re: [hibernate-dev] [SEARCH] @Indexed on abstract classes

2012-05-14 Thread Guillaume Smet
On Sat, May 12, 2012 at 12:39 PM, Emmanuel Bernard wrote: > 10-20 seconds? For how many classes in your app ?! Probably quite a lot because it scans the whole classpath but nothing weird as our applications are "just" Spring-*/Hibernate-*/Wicket applications. The scan in Tomcat isn't really opti

Re: [hibernate-dev] Absolute path to hibernate.cfg.xml

2012-05-14 Thread Steve Ebersole
Did you try? Usually the easiest way to check :) But yes, it can be a absoulte path or even file:// url. Also, that is not a "Hibernate development" question. Its a usage question. Please direct usage questions to either the forum or IRC. On Mon 14 May 2012 06:06:47 AM CDT, Dmitry Geraskov

[hibernate-dev] Absolute path to hibernate.cfg.xml

2012-05-14 Thread Dmitry Geraskov
Hi, guys, it is possible to set in persistence.xml path to hibernate.cfg.xml. The question is: can this path be absolute and work? Or the path must be classpath relative? This question is important for our plugins ui. Thanks, Dmitry ___ hibernate-dev

Re: [hibernate-dev] Interceptor question

2012-05-14 Thread Emmanuel Bernard
To me index / purge / purgeAll are not simply about what the MassIndexer does. I can see use cases where you manually control indexing without considering doing this en mass. remember, people can disable event based indexing. On 13 mai 2012, at 23:17, Sanne Grinovero wrote: > [thread diverged, no