Now I'm really confused.
Hibernate's jars can be found by looking under
http://repository.jboss.com/maven2/org/hibernate/ (when using maven).
hibernate-core is one of the directories here. So is hibernate-entitymanager.
For version 3.5, the documentation says not to include both, because everything has been rolled into hibernate-core.
But as far as I can tell, this is not the case. Have a look at
http://repository.jboss.com/maven2/org/ ... Beta-3.jar. Crack it open. Look inside. It does not appear to be the case that annotations or EntityManager-related classes are in here.
Then have a look at
http://repository.jboss.com/maven2/org/ ... Beta-3.jar. That has the EntityManager-related classes in it.
Finally, there is no hibernate3.jar or maven artifact.
I know that everything works if I make my project depend on hibernate-core, hibernate-entitymanager and hibernate-annotations, all with version 3.5.0-Beta-3. This, however, goes against the documentation. I am trying to figure out whether the documentation is wrong or whether someone never checked to see what was going in what jar, or if I'm using the wrong Maven repository, or...?
Best,
Laird