We've been there before :) Annotations used to be a separate jar. We
went out of our way to consolidate them. I don't think it makes any
sense to split them back out. Nor do I see how it solves your concern
anyway. Yes you no longer would get the error I guess, but that does
not mean its doing TheRightThing.
On 02/29/2012 08:11 AM, Sven Rienstra wrote:
Hi all,
We've just migrated some of our products from Hibernate 3 to Hibernate 4. We ran into
some problems because Envers is now automatically starting when it is on the classpath. I
think this is a really nice feature, however in our case most of our products need Envers
on the classpath even though only some product are actually using Envers. This is because
we have made a common data model which is used by most of our products, some of these
model classes have @Audited annotations, so Envers is required on the classpath.
We now explicitly turned of Envers in products where it is not needed, but it would be
nice if there was a separate jar containing only the annotations. Not exclusively for
Envers, but a jar containing all Hibernate annotations.
Do you guys think this is a good idea?
Sven
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
steve(a)hibernate.org
http://hibernate.org