aw
unread,Nov 1, 2009, 1:55:20 PM11/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
I am using Lift-Mapper with Oracle. Oracle is a case-insensitive
database. For Hibernate projects, I have used the Enhanced Naming
Convention to translate Java camelCase to a more Oracle friendly
snake_case. I am interested in doing the same thing with Lift Mapper/
Record.
In the mean time, I need to override dbTableName and dbColumnName, but
I'd like to avoid that and just agree on the convention.
I could imagine that the Database Provider would maintain a flag to
say whether the database is case sensitive or not, and then based on
that flag, would pass either the camelCase directly (for case
sensitive), or snake_case(camelCase) (for case insensitive).
(Or, does this functionality already exist and I just haven't
configured it properly?)