Re: [hibernate-dev] Unsaved values

2012-03-30 Thread Steve Ebersole
Sweet. On Fri 30 Mar 2012 01:49:21 PM CDT, Gail Badner wrote: > I have verified that "assigned" generators default to "undefined" as the > id-based unsaved-value for both HBM and annotations so that part is fine. > > Thanks for the info. I've convinced myself that unsaved values can be > process

Re: [hibernate-dev] Unsaved values

2012-03-30 Thread Gail Badner
I have verified that "assigned" generators default to "undefined" as the id-based unsaved-value for both HBM and annotations so that part is fine. Thanks for the info. I've convinced myself that unsaved values can be processed the same way for HBM and annotations. Thanks, Gail - Original M

Re: [hibernate-dev] Natural ID caching bug?

2012-03-30 Thread Steve Ebersole
https://hibernate.onjira.com/browse/HHH-7210 Found some other minor problems. Pushing fixes... On Fri 30 Mar 2012 11:28:28 AM CDT, Steve Ebersole wrote: > You mean the stats aren't being updated... Yes, that does look like an > oversight. > > On Fri 30 Mar 2012 09:01:36 AM CDT, Galder Zamarreño

Re: [hibernate-dev] Natural ID caching bug?

2012-03-30 Thread Steve Ebersole
You mean the stats aren't being updated... Yes, that does look like an oversight. On Fri 30 Mar 2012 09:01:36 AM CDT, Galder Zamarreño wrote: > Hi guys, > > I think there's a bug in the Natural ID support impl in Hibernate and wanted > to confirm with you: > > For entity caching, EntityInsertAc

[hibernate-dev] multi-tenancy in Hibernate and JPA 2.1

2012-03-30 Thread Steve Ebersole
The scope of multi-tenancy in JPA 2.1 is pretty much set it seems, its just details at this point. And that scope is decidedly different from what I did for Hibernate. What we have in Hibernate is actually more encompassing. The terms being used to describe the differences are PaaS versus Saa

Re: [hibernate-dev] Unsaved values

2012-03-30 Thread Steve Ebersole
unsaved-value is tricky in many ways. In case anyone is not aware, there really is just one unsaved-value strategy for each entity. It just happens that unsaved determination could be based on id, or based on version; that is why we have 2. Outside of an explicitly user-provided value, "unde

Re: [hibernate-dev] patching javassist - which ver?

2012-03-30 Thread Steve Ebersole
There were lots of problems. Inactivity was just the final straw. You can plug in any one you want. You'll have to develop the proper bindings. The main touch point is org.hibernate.bytecode.spi.BytecodeProvider. The ones mentioned were JBoss developed and actively maintained ones. https://

Re: [hibernate-dev] patching javassist - which ver?

2012-03-30 Thread Nikita Tovstoles
What are some of the alt libraries you are considering? From my POV, perhaps selfishly, this is a pretty substantial scalability issue. I realize that cglib wasn't being actively maintained, but we didn't see any significant problems with that lib. AFAIK there is still a way to force using cglib

[hibernate-dev] Natural ID caching bug?

2012-03-30 Thread Galder Zamarreño
Hi guys, I think there's a bug in the Natural ID support impl in Hibernate and wanted to confirm with you: For entity caching, EntityInsertAction does: boolean put = persister.getCacheAccessStrategy().insert( ck, cacheEntry, version ); if ( put && factory.getStatistics().i

Re: [hibernate-dev] patching javassist - which ver?

2012-03-30 Thread Steve Ebersole
I have not had time to dig into this, so I cannot speak to the specific concern brought up here. I will say, however, that in some cases we are not using Javassist "right" (we should not be using its ProxyFactory class). And there is question whether we should be using Javassist at all for pr

Re: [hibernate-dev] patching javassist - which ver?

2012-03-30 Thread Nikita Tovstoles
Filed here: https://issues.jboss.org/browse/JASSIST-163 From: Shaozhuang Liu [mailto:shaozhuang@gmail.com] On Behalf Of Strong Liu Sent: Thursday, March 29, 2012 7:37 PM To: Nikita Tovstoles Cc: hibernate-dev@lists.jboss.org Subject: Re: [hibernate-dev] patching javassist - which ver

Re: [hibernate-dev] Hibernate Shards ?

2012-03-30 Thread Hardy Ferentschik
Hi, very good point Sanne. I think Shards should be removed from the hibernate.org website. --Hardy On Mar 30, 2012, at 1:46 AM, Sanne Grinovero wrote: > While it doesn't happen every day, we sometimes have people asking > help on Shards on the forums. > > Take this for example: > https://f