Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
I pulled my commit but it came out wrong (5dc04960d6ccb4f54f49c2fac83a0ccd2874fa2f merge got created). It looks like I should of rebased the commit on my local master branch before doing the pull request. It looks like git merged my change and Hardy's (from earlier today). One thing that is

Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
On 08/02/2011 04:34 PM, Scott Marlow wrote: > I'll add a security manager check to the get/set TCCL, do the manual > test in AS7 once more and commit/merge to master. I'll hold off on using SM, since we don't seem to do that everywhere. I don't want to break consistency. ;) > > On 08/02/2011 02

Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
I'll add a security manager check to the get/set TCCL, do the manual test in AS7 once more and commit/merge to master. On 08/02/2011 02:10 PM, Scott Marlow wrote: > https://github.com/scottmarlow/hibernate-core/commit/07d15fb39b1ac7e28546ae5a67b387772ffbe33a > seems to around it, by setting the T

Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
https://github.com/scottmarlow/hibernate-core/commit/07d15fb39b1ac7e28546ae5a67b387772ffbe33a seems to around it, by setting the TCCL to the Hibernate classloader around the Antlr call "setTokenObjectClass( HqlToken.class.getName() )" Any objections to this change? On 08/02/2011 11:12 AM, Scot

Re: [hibernate-dev] HSEARCH State to transfer

2011-08-02 Thread Sanne Grinovero
2011/8/2 Emmanuel Bernard : > HSEARCH-681 HSEARCH-757 > > I've done a first analysis for the state to transfer. It's not too bad. > This doc is cryptic but people familiar with Lucene should get what I mean: > > https://gist.github.com/1120651 Thanks! I've added some minor comments on the format o

[hibernate-dev] HSEARCH State to transfer

2011-08-02 Thread Emmanuel Bernard
HSEARCH-681 HSEARCH-757 I've done a first analysis for the state to transfer. It's not too bad. This doc is cryptic but people familiar with Lucene should get what I mean: https://gist.github.com/1120651 It describes the state to pass around for each operation and detail what Document and Fiel

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-02 Thread Adam Warski
On Aug 2, 2011, at 3:41 PM, Scott Marlow wrote: > It is probably easier to integrate the Envers as a standalone module that > depends on the AS7 "org.hibernate" module. The "org.hibernate" module needs > to depend on "envers" as well (to satisfy the circular dependency). We > should at least

Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
I created HHH-6536 for this issue. On 08/02/2011 09:46 AM, Scott Marlow wrote: > Anyone else have any ideas of what might of changed. Perhaps we were > getting lucky in Beta3 and some unrelated bug was fixed that somehow was > setting the TCCL for ANTLR. > > > On 08/01/2011 05:20 PM, Scott Marlow

Re: [hibernate-dev] Does anyone know of any HQL internal changes between Hibernate 4.0.0.Beta3 and 4.0.0.Beta4?

2011-08-02 Thread Scott Marlow
Anyone else have any ideas of what might of changed. Perhaps we were getting lucky in Beta3 and some unrelated bug was fixed that somehow was setting the TCCL for ANTLR. On 08/01/2011 05:20 PM, Scott Marlow wrote: > http://pastebin.com/SR3jsxGp contains the call stack for a > ClassNotFoundExce

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-02 Thread Scott Marlow
It is probably easier to integrate the Envers as a standalone module that depends on the AS7 "org.hibernate" module. The "org.hibernate" module needs to depend on "envers" as well (to satisfy the circular dependency). We should at least try to do it that way. Strong had run into difficulty w

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-02 Thread Adam Warski
As a follow-up, I tried adding Envers to a web application deployed on AS7 today, using Hibernate provided with the AS. I got some class loading problems though with dom4j. See the forum discussion: http://community.jboss.org/message/618823#618823 I also tried creating a separate Envers module w

Re: [hibernate-dev] Patch for HHH-6361 / HHH-6349 : Envers loses audit information due to a Hibernate core bug

2011-08-02 Thread Adam Warski
Any news on this issue? Is the patch ok, can it be merged? Adam On Jul 19, 2011, at 12:18 PM, Scheper, Erik-Berndt wrote: > Hi, > > I've updated the original pull request > (https://github.com/hibernate/hibernate-core/pull/118) to address the Map > sizing issue. I've also removed a few debug

Re: [hibernate-dev] [Search] PurgeAll & Sharding API

2011-08-02 Thread Sanne Grinovero
2011/8/2 Emmanuel Bernard : > Yes we should fix the example. Note that the JavaDoc covers this case. > >> id and idInString can be null. If null, all the directory providers >> containing entity types should be returned > > I'm not against a new method necessarily but I don't see the huge value (i

Re: [hibernate-dev] [Search] PurgeAll & Sharding API

2011-08-02 Thread Emmanuel Bernard
Yes we should fix the example. Note that the JavaDoc covers this case. > id and idInString can be null. If null, all the directory providers > containing entity types should be returned I'm not against a new method necessarily but I don't see the huge value (ie easier contract vs breaking exist