batmat wrote:
I don't think it's possible. You need the Configuration implementation (AnnotationConfiguration for annotations based one) to build the SessionFactory.
Maybe you should precise what your needs are. I don't think there's a lot of places where annotations do not permit what XML does. If so, then just watch the hibernate jira to see if the feature you miss is logged (if not, file it).
What are you missing with annotations based Configuration ?
I need to specify the name of an entity in a relationship. I've posted this (
http://forum.hibernate.org/viewtopic.php?t=976022) describing the problem.