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

Scott Marlow smarlow at redhat.com
Tue Aug 2 14:10:25 EDT 2011


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, Scott Marlow wrote:
> 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 wrote:
>>> http://pastebin.com/SR3jsxGp contains the call stack for a
>>> ClassNotFoundException of org.hibernate.hql.internal.ast.HqlToken (from
>>> https://issues.jboss.org/browse/AS7-1433).  The exception message isn't
>>> shown but the jira has that.
>>>
>>> I tried the supplied test case against Hibernate 4.0.0.Beta3 and don't
>>> have the same problem.  Does anyone know of a Hibernate 4.0.0.Beta4
>>> change that could of caused this?
>>>
>>> Perhaps we need to set the TCCL to the hibernate CL when constructing
>>> the HqlBaseLexer as a workaround (the Hibernate classloader depends on
>>> the antlr classloader module, so that should work).
>>>
>>> Whatever the solution is, I'd like to better understand what changed to
>>> cause this.
>>>
>>> Thanks,
>>> Scott
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list