As per documentation (search 'name (optional): the fully' string to locate the sentence), name attribute of class element is optional in mapping (hbm.xml) file. If so, how does Hibernate know to which class to map the table?
Thanks in advance.
As per documentation (search 'name (optional): the fully' string to locate the sentence), name attribute of class element is optional in mapping (hbm.xml) file. If so, how does Hibernate know to which class to map the table?
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
name (optional): the fully qualified Java class name of the persistent class or interface. If this attribute is missing, it is assumed that the mapping is for a non-POJO entity.