I'm working on some legacy stuff which has database access through JDBC. We have a huge 50K LOC/1MB file which all of our queries go through which I want to break up into an ORM-style framework with ...