1. If the attribute value in the entity class contains uppercase letters, it will be automatically converted to underscore and lowercase letters.
Solution: Comment the following code in the hibernate configuration file
<property name="namingStrategy">
<bean class="org.hibernate.cfg.ImprovedNamingStrategy" />
</property>
{{o.name}}
{{m.name}}