A small prototype demonstrating how to achieve table partitioning within the context of a grails application.
You will need to create a local database called "partition_test" (or update DataSources.groovy appropriately). Then just run the tests (there is only one): grails test-app