ryancarlson/sql2o — pull request #5 by ryancarlson (2013-12-25 23:22:18+00:00)
Title: Auto-map field names

This project could support enabling auto translation or auto mapping of java field names to database columns based on the following convention:

`Query` now supports ability to enable auto column mapping.
```
private String fieldOne;
private String fiendNumber2;
maps to database column: field_one and field_number_2 respectively if enabled
```
This would cut down on lots of unnecessary calls to addColumnMapping just to get what could be considered default mappings supported my most (all?) other ORM libraries.

This feature can be enabled by calling query.setAutoDeriveColumnNames(true) and that setting lasts for the duration of the query.