Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Hardy Ferentschik
On 26 Jun 2012, at 22:29, Sanne Grinovero wrote: > On 26 June 2012 21:17, Hardy Ferentschik wrote: >> >> On 26 Jun 2012, at 21:37, Sanne Grinovero wrote: >> >>> Ok that sounds all nice. But we need programmatic definition of >>> annotations too, you remember Hibernate Search right? >> >>

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Sanne Grinovero
On 26 June 2012 21:17, Hardy Ferentschik wrote: > > On 26 Jun 2012, at 21:37, Sanne Grinovero wrote: > >> Ok that sounds all nice. But we need programmatic definition of >> annotations too, you remember Hibernate Search right? > > How is that conceptually different than XML defined ones? Not con

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Hardy Ferentschik
On 26 Jun 2012, at 21:37, Sanne Grinovero wrote: > Ok that sounds all nice. But we need programmatic definition of > annotations too, you remember Hibernate Search right? How is that conceptually different than XML defined ones? > The first point you make about the XClass abstraction sounds to

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Steve Ebersole
Hardy, could the API be fixed up? I have not used it enough to be able to tell if it is salvageable; only enough to know it needs changing ;) On Tue 26 Jun 2012 02:54:11 PM CDT, Steve Ebersole wrote: > Hardy, could the API be fixed up? I have not used it enough to be > able to tell if it is sal

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Sanne Grinovero
Ok that sounds all nice. But we need programmatic definition of annotations too, you remember Hibernate Search right? The first point you make about the XClass abstraction sounds to me a good one, a good reason to use it. It doesn't have to be big and bloated, but if we have a simple way to abstra

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Hardy Ferentschik
On Jun 26, 2012, at 9:02 PM, Sanne Grinovero wrote: > There are a lot of libraries depending on Hibernate Commons > Annotations, up to Infinispan for the Query module (not depending on > any other Hibernate core library). > > If you want to rewrite it's internals and provide a drop-in > replacem

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Steve Ebersole
Well I think one option would be to explore using Jandex within commons-annotations. Jandex is meant as a very lightweight (read: FAST) annotation reader. commons-annotations is meant to read annotations and merge the annotated values with xml overrides. But commons-annotations could certain

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Sanne Grinovero
There are a lot of libraries depending on Hibernate Commons Annotations, up to Infinispan for the Query module (not depending on any other Hibernate core library). If you want to rewrite it's internals and provide a drop-in replacement, that's nice. But I see no reason to throw it away? Could you

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Steve Ebersole
Agree 10,000% On 06/26/2012 11:29 AM, Hardy Ferentschik wrote: > On Jun 26, 2012, at 6:19 PM, Sanne Grinovero wrote: > >> an optimization we have been discussing but had still no time to >> implement is to update hibernate-commons-annotations to use Jandex. > +1 for Jandex. However, I don't think

Re: [hibernate-dev] A fine grained way to mark @Transient and @ClassBridges as dirty

2012-06-26 Thread Hardy Ferentschik
On Jun 25, 2012, at 2:48 PM, Marc Schipperheyn wrote: > The TwoWayFieldBridge issue seems similar to what I'm suggesting and would > seem to resolve most of my issues. Then I think we should focus on this. I need to refresh my memory on where we stand in the discussion around this issue. --H

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Hardy Ferentschik
On Jun 26, 2012, at 6:19 PM, Sanne Grinovero wrote: > an optimization we have been discussing but had still no time to > implement is to update hibernate-commons-annotations to use Jandex. +1 for Jandex. However, I don't think it is worth to trying to use it with the old configuration code. The

Re: [hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Sanne Grinovero
Hi Scott, an optimization we have been discussing but had still no time to implement is to update hibernate-commons-annotations to use Jandex. All Hibernate projects use it extensively, so it's possible that just focusing on that specialized library you can get some good boost for both Hibernate O

[hibernate-dev] Hibernate.next version and AS 7.2 community release...

2012-06-26 Thread Scott Marlow
I'm going to look at improving the AS7 boot time for JPA applications as part of the AS 7.2 release (perhaps for the first 7.2 alpha if possible). I'll collect more details about the improvements that I want to make (with regard to were we are spending excessive time for deployments that need