How to test database connection without using Hibernate ORM in Grails

You will likely encounter a headache problem when bringing a large project to cloud-based deployment development, especially testing the access of databases if you have to request of accessing internally…