. Looks like you've already externalized queries.. I think, you can load named queries of the respective dao when needed using this approach.
The thing here is we will load the entity class as well as the respective .hbm.xml files eagerly when we load our dataAccess.xml file of Spring which contains all the .hbm.xml referenced.
System.out.println("You made this database, take charge of this");
System.out.println("Failed to connect the database");
is the location relative to current directory ? It looks to be present in the context root.
<location> /error.html </location>
I wish to make "h.get(MANU_ID)", readOnly, so that it can't be edited.