In hibernate-cfg.xml file, as per my understanding
hibernate-configuration can have only one session-factory and one or zero security tags
if we configure multiple session-factory then we should get error
"The content of element type "hibernate-configuration" must match "(session-factory,security?)
So anyone tell me
What is the use of the name property in session-factory tag in hibernate.cfg.xml file
<session-factory name="">
In which scenario we can use it?