How can we add more entities to hibernate? Mine is a standalone application built on spring and hibernate.
I have the metadata about the class file of the new entities. How can I add them to hibernate session factory without restarting or making changes to the confugation XML files?
All the mappings are managed by hibernate itself. And only the configurations like connection parameters are maintained in XML.
In short, if I have the class file location of the entities, how can I instruct hibernate to pickup the entities from there, without restarting or making changes to the config files?
Thanks.