On Sun, Nov 1, 2009 at 1:04 PM, Jeppe Nejsum Madsen <je...@ingolfs.dk>wrote:
> > Naftoli Gugenheim <naftoli...@gmail.com> writes: > > > Probably not too hard to do on your own via a trait: the trait should > extend MappedField, override dbColumnName, and calculate it based on > getClass. > > While this works, I think it is too tedious to do on all classes and > fields. I think a better approach would be to make the Connection > naming aware and just "do the right thing" (tm) based an the specified > naming convention > Acually, I'm going to do it based on a single function in MapperRules. > > /Jepppe > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---