Thanks -- I know about RowMapper (and many other workarounds). Hibernate is one of many serialization frameworks I work with (I'm happy with it, for the most part, and go around it when it gets in the way).
We also have a REST interface, and would like JSON or XML serialization of our business object. Here, again, I'd like to serialize these objects as plain JSON (not thrift JSON which adds considerable requirements on a REST client). Allowing Thrift exclusive ownership of the object definitions is a hindrance. - Stuart On Fri, Dec 5, 2014 at 8:25 AM, Matt Chambers <[email protected]> wrote: > Correction > > public List<ProjectT> getAll() { > return jdbc.query("SELECT * FROM project", MAPPER); > } > > On Dec 5, 2014, at 11:21 AM, Matt Chambers <[email protected]> wrote: > >> public List<ProjectT> getAll() { >> return jdbc.query("SELECT * FROM project"); >> } >
