Re: [hibernate-dev] Database with UUID support

2010-05-27 Thread David Driscoll
In regards to : postgresql - is it reasonable to require this uuid-ossp module? In my experience, I avoided using the uuid-ossp module and just used java.util.UUID.randomUUID() in my model class to generate my uuid for me instead having the database generate the uuid. Depending on how much access r

Re: [hibernate-dev] Optimizing reflection optimization

2010-05-27 Thread Steve Ebersole
Perhaps it short circuits those copies and other overheads if no security manager is defined (ala as in my IDE). That would explain how I can see minimal improvement while Kirill sees a 4x improvement. Still rather confirm these numbers are accurate. Kirill? On Thu, 2010-05-27 at 10:12 -0400, B

Re: [hibernate-dev] Optimizing reflection optimization

2010-05-27 Thread Bill Burke
Carlo deWolfe found that one of the big perf problems with Java reflection is that it is constantly doing security checks with the security manager and every get/find request makes a copy of the method/field objects. He had a hack for this, but you'll have to consult him on what it is. The JB

Re: [hibernate-dev] Optimizing reflection optimization

2010-05-27 Thread Steve Ebersole
I ran this same exact comparison before and I seem to recall much different results. Unfortunately I no longer have that code. This was part of http://opensource.atlassian.com/projects/hibernate/browse/HHH-227 Can you make sure you "prime" or "warm up" the jvm before you start taking measurement

Re: [hibernate-dev] Optimizing reflection optimization

2010-05-27 Thread Кирилл Кленский
Hi, My measurements have indicated that there is a performance gain. I have measured the time spent in setPropertyValues and getPropertyValues. The optimized version was 4 times faster in these methods giving an estimated application performance increase of about 3%. Optimizing getPropertyValue an

Re: [hibernate-dev] Database with UUID support

2010-05-27 Thread Steve Ebersole
Anyway, the discussion here wrt this UUID project is all about generating the UUID value in Java. The first point is to determine whether there is any benefit to relying on the database to generate these for us in the cases when they can. Secondly there is the question of if we are going to do it

Re: [hibernate-dev] Database with UUID support

2010-05-27 Thread Steve Ebersole
The site is not just about the UUID generator project.  He wrote posts on ohter subjects as well. My point there is more to the maven repo.  How do we reference this?  Are we ending up hosting another artifact?  How do we even contact him to find out? -- Sent from my Palm Pre st...@hiberna