Emmanuel, What do you think about the idea outlined before of having an EntityListenerFactory in the JPA spec similar to BV's ConstraintValidatorFactory?
I think the situation in JPA is very similar to BV and feel it would make sense to solve the problem similarly in both cases. This would also avoid a direct dependency from JPA to CDI altogether (implementation-wise). The JPA spec would just require the EE container to plug in a CDI-aware factory, similar to what we've been discussing for BV constraint validators. WDYT? --Gunnar Am 23.08.2012 17:11 schrieb "Emmanuel Bernard" <[email protected]>: _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev
