Database access using Groovy.