Okay, it sounds like I won't be able to create what I was imagining --
a DB query macro that prepared the JDBC statement at compile time and
generated a row class with typesafe fields. I got it working with
tuples, but to access the columns with named fields it sounds like I
must build a separate tool that generates .scala files.
Thanks again for the helpful responses.
Rob
On May 13, 5:21 pm, Eugene Burmako <
eugene.burm...@epfl.ch> wrote:
> 1) m can expand to a class definition, but it won't be visible from outside
> of the expansion.
> 2) unfortunately, in general case this is either very hard or impossible.
>