[Lift] Re: camelCase to snake_case

2009-11-01 Thread Naftoli Gugenheim
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. - awanth...@whitford.com wrote: I am using Lift-Mapper with Oracle. Oracle is a case-insensitive database.

[Lift] Re: camelCase to snake_case

2009-11-01 Thread David Pollak
It's not currently a feature, but please open a ticket http://github.com/dpp/liftweb/issues . We'll get it into M8 On Sun, Nov 1, 2009 at 10:55 AM, aw anth...@whitford.com wrote: I am using Lift-Mapper with Oracle. Oracle is a case-insensitive database. For Hibernate projects, I have used

[Lift] Re: camelCase to snake_case

2009-11-01 Thread Jeppe Nejsum Madsen
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

[Lift] Re: camelCase to snake_case

2009-11-01 Thread David Pollak
On Sun, Nov 1, 2009 at 1:04 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: 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,

[Lift] Re: camelCase to snake_case

2009-11-01 Thread aw
Thank you. I will open an Issue for this. I was reluctant to do it thinking that it was a user issue. ;-) On Nov 1, 11:57 am, David Pollak feeder.of.the.be...@gmail.com wrote: It's not currently a feature, but please open a tickethttp://github.com/dpp/liftweb/issues.  We'll get it into M8