I know the EJB 3.0 spec supports annotations, but alternatively also supports old fashioned xml files for configuration.
The site doc says that Hibernate Annotations are required to use Hibernate EntityManager - is that definitely true? In other words, could you use EntityManager and use xml files for configuration instead of annotations as supported in the EJB 3 spec? (I know it is doc'd that you could can use Hibernate Annotations without EntityManager, but is the reverse true?)
Also, is Java 5 still required to use Hibernate EntityManager if annotations are not used?
Thanks in advance,
Matt
|