Hi, As per an answer of Vlad in the forum [1], the lazy fetch groups new in ORM 5.1 are only supported via annotations.
Is that a temporary solution and XML support for lazy groups is planned eventually (if not in HBM but then via some means of extension point in orm.xml)? In other words, is our strategy to keep annotations and XML (again, be it HBM or through extensions in orm.xml) equally powerful? Or are we indeed considering annotations as the "preferred way" and add new functionality only there? Personally I'd hope for the former, as there are use cases for both and it should be left to users which one to take. Taking a step back, it's not specifically XML I'm attached to, but *some means* of external configuration of mappings as opposed to internal configuration via annotations on the model itself. In the No-ORM projects we provide APIs which allow to apply the same configuration as via annotations for that purpose. Maybe that'd be a good thing for ORM, too? Thanks, --Gunnar [1] https://forum.hibernate.org/viewtopic.php?f=1&t=1043183 _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev