Re: [hibernate-dev] Master

2015-03-12 Thread Steve Ebersole
OK, so I ran into a speed bump with Envers. For those not familiar, Envers essentially iterates over all the entity mappings Hibernate has built for user entities and dynamically builds a DOM(4J) Document representing the audit entity corollaries. I had planned to simply bridge that to our JAXB p

[hibernate-dev] [Hibernate Search] Validating the Sort field

2015-03-12 Thread Sanne Grinovero
A forums user asked why we don't validate the Sort field being set on a FullTextQuery. I've tried to summarize some of the reasons of why it's a complex thing, still it's something worth considering. Let's keep it in mind as yet another reason to try intercept which fields are being written by cu

Re: [hibernate-dev] Master

2015-03-12 Thread Steve Ebersole
At first I read that as 34,601 files added and was like "wh!!" :) On Wed, Mar 11, 2015 at 4:20 AM, Hardy Ferentschik wrote: > On Wed, Mar 11, 2015 at 09:43:49AM +0100, Emmanuel Bernard wrote: > > Woohoo > > Woot! > > "1,291 changed files with 34,601 additions and 220 deletions" - not bad ;-)

Re: [hibernate-dev] new proposal for tx timeout handling using transaction DISASSOCIATING event notification...

2015-03-12 Thread Steve Ebersole
You confused me more :) One the one had you say that we will use this fact of whether the transaction has been disassociated to indicate whether the transaction is completing normally (disassociated == true) or timed-out (disassociated == false). But at the same time you are saying that it is qui

[hibernate-dev] Strange issue massindexer and classbridge

2015-03-12 Thread Marc Schipperheyn
Hi, I just wanted to share a strange issue I had w the massindexer and a classbridge where a whole class of entities was not being indexed by the massindexer (Hibernate Search 5.1). The entity in question was part of an inheritance hierarchy. Something like BaseComment Comment Post R

Re: [hibernate-dev] new proposal for tx timeout handling using transaction DISASSOCIATING event notification...

2015-03-12 Thread Steve Ebersole
Scott, I am not following. Pardon me if I am being dense :) Today, in our afterCompletion hooks we have code that, in the case of rollback, tries to make a determination of whether the rollback is due to a timeout or a "normal" rollback. If we deem a timeout occurred, then we delay the afterComp

Re: [hibernate-dev] JTA synchronizations on WildFly

2015-03-12 Thread Steve Ebersole
Isn't the general approach is for "compensating actions" to be run in a separate transaction? On Tue, Mar 10, 2015 at 10:11 AM, Scott Marlow wrote: > I just saw the below email response after I sent the last one. Sorry > about that, will respond here also. :) > > On 03/10/2015 09:14 AM, Emmanu