Update DbMetadataSqlMapDao to use Hibernate.

Please review and consider this pull request which migrates DbMetadataSqlMapDao from iBatis to Hibernate.