grailsApplication
is injected in controllers and service classes only. To access config
and metadata
from other classes, use ConfigurationHolder
and ApplicationHolder
respectively.Reference: http://jira.codehaus.org/browse/GRAILS-2545
grailsApplication
is injected in controllers and service classes only. To access config
and metadata
from other classes, use ConfigurationHolder
and ApplicationHolder
respectively.
mdb-schema data.mdb > schema.sql
mdb-export -I data.mdb table | sed -e "s/)$/);/" > table.sql