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

Hardy Ferentschik hardy at hibernate.org
Tue Jun 26 16:17:22 EDT 2012


On 26 Jun 2012, at 21:37, Sanne Grinovero <sanne at hibernate.org> 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 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 abstract from the annotation
> reading
> - XML
> - Class definitions
> - programmatic overrides

That's where the Jandex index comes in. It can abstract all of this and once all the right information is in the index we just use it to process the annotation (real or pseudo ones).

> in a single API, that sounds like a good thing?

Right, that's what I want as well

> You mention this API
> is confusing, maybe we can improve on it?

Why, when there is a better approach?

> Sounds better than to have
> to deal with the three sources independently.

We won't have to.

--hardy



More information about the hibernate-dev mailing list