[hibernate-dev] Possibly interesting use of Jandex

Hardy Ferentschik hardy at hibernate.org
Tue Mar 11 06:37:43 EDT 2014


On 9 Jan 2014, at 18:31, Steve Ebersole <steve at hibernate.org> wrote:

> Then we had expanded the previous discussion to look at the more general
> case... interface based models.  Imo, the best way to map the above model
> would be:
> 
> @Entity
> interface Employee {
>    ...
> }
> 
> Yes, this deviates from JPA which explicitly says that only classes can be
> annotated.  The question is whether we think its worthy of a "vendor
> extension”.

Not sure whether I am a big fan of this. As a first gut feeling I would give it a -1




More information about the hibernate-dev mailing list