aaberg/sql2o — pull request #33 by ryancarlson (2013-12-20 16:17:42+00:00)
Title: Auto Map Fieldnames

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.