Re: [hibernate-dev] Accessing annotation properties values

2012-10-04 Thread Steve Ebersole
Probably you can cache it by AnnotationInstance, so maybe something like this instead: class AnnotationProxyBuilder { private final Map annotationProxyMap = new ...; public T getAnnotationProxy(final AnnotationInstance annotationInstance, final Class annotationClass) { T annota

[hibernate-dev] 4.1.8

2012-10-04 Thread Steve Ebersole
Unless there are objections (and volunteer to do it), I plan on holding off on 4.1.8 release. -- st...@hibernate.org http://hibernate.org ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-de

[hibernate-dev] Accessing annotation properties values

2012-10-04 Thread Ɓukasz Antoniak
Hello Team, In Envers code we use ReflactionManager and XProperty#getAnnotation(Class) quite often. While working on metamodel branch, I have started replacing all those calls with JandexHelper#getValue(AnnotationInstance, String, Class) method. The code became less type safe and grew in size

[hibernate-dev] Bytecode enhancement

2012-10-04 Thread Steve Ebersole
See https://hibernate.onjira.com/browse/HHH-7667 I want to investigate expanding Hibernate's support for bytecode enhancement. I can see 3 main fronts to this: 1) offloading map lookups from the PersistenceContext . Currently we keep state associated with each entity in a map (a special type

[hibernate-dev] Some weird Jenkins failures

2012-10-04 Thread Sanne Grinovero
Hi all, the following are failures in the Hibernate Search testsuite from Jenkins but they look like ORM related. Could someone have a look and help me classify them in - need an ORM JIRA - need to disable test on dialect (like the Sybase NUMERIC one looks like we should blame the driver) - someth

Re: [hibernate-dev] Regression after upgrade to 4.1.7.Final

2012-10-04 Thread Sanne Grinovero
Thanks Shawn! latest master seems to behave appropriately with the Hibernate Search testsuite after your fix. For the record, this was HHH-7603 Cheers, Sanne On 15 September 2012 20:52, Guillaume Smet wrote: > On Fri, Sep 14, 2012 at 5:55 PM, Sanne Grinovero wrote: >> I could reproduce the sam