Add the CaseClassShape from #692.

Test in JdbcMapperTest.testCaseClassShape. Review by @cvogt