[hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-27 Thread Steve Ebersole
WildFly consuming ORM 5.0 is still hitting one last TCCL issue with HCANN. It happens in the org.hibernate.annotations.common.annotationfactory.AnnotationFactory#create method trying to build the "annotation proxy class". There are a few possible approaches to resolve this... The simplest potenti

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Hardy Ferentschik
Hi, On Wed, May 27, 2015 at 11:34:44PM -0500, Steve Ebersole wrote: > The simplest potentially effects other HCANN consumers, so we'd obviously > all need to agree. Anyway, the simplest approach is to use the ClassLoader > for annotation @interface Class rather than the TCCL. I do not see a > pr

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Sanne Grinovero
On 28 May 2015 at 05:34, Steve Ebersole wrote: > WildFly consuming ORM 5.0 is still hitting one last TCCL issue with HCANN. > It happens in > the > org.hibernate.annotations.common.annotationfactory.AnnotationFactory#create > method trying to build the "annotation proxy class". > > There are a fe

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Steve Ebersole
Ok, then everyone seems to be on board with the simple approach. Awesome! FWIW I'd have to imagine this is close to what the VM does for annotations anyway. So that's an extra win in my book. On Thu, May 28, 2015 at 5:08 AM, Sanne Grinovero wrote: With that TCCL trick in place it seems it was

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Sanne Grinovero
What about making it 5.0 to align them all? Search would soon need a 6.0, I'm resisting as much as possible as we had several signs that people mostly ignore our reminders and expect the components to be aligned on the major number. Therefore we expect Search to upgrade to ORM 5 in a minor version

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Steve Ebersole
Sold! https://hibernate.atlassian.net/browse/HCANN/fixforversion/20151 On Thu, May 28, 2015 at 9:32 AM, Sanne Grinovero wrote: > What about making it 5.0 to align them all? > > Search would soon need a 6.0, I'm resisting as much as possible as we > had several signs that people mostly ignore ou

Re: [hibernate-dev] HCANN, AnnotationFactory and TCCL

2015-05-28 Thread Steve Ebersole
Wow. There are so many open issues against HCANN... On Thu, May 28, 2015 at 9:51 AM, Steve Ebersole wrote: > Sold! https://hibernate.atlassian.net/browse/HCANN/fixforversion/20151 > > On Thu, May 28, 2015 at 9:32 AM, Sanne Grinovero > wrote: > >> What about making it 5.0 to align them all? >>