IIRC, Cayenne will convert '_' fine. So if you name a column "first_name",
cayenne, when creating the class, will create getFirstName(),
setFirstName(). I'm unable to test it right now to verify, but I'm pretty
sure I have some fields like that that Cayenne took care of nicely.
-- KevinOn 4/5/05 2:28 PM, "tnaki..ofthome.net" <tnakic@softhome.net> wrote:
> I've found some mention of the problem in the list archive, but it > didn't seem related enough so here goes: the case sensitivity problem > again... > I can simply lowercase every name in the database and get it over with, but: > a) I shouldn't have to do that > b) it makes switching databases harder > c) the generated Java code isn't nearly as nice as when using the > myTableName.myFirstAttribute notation.
This archive was generated by hypermail 2.0.0 : Tue Apr 05 2005 - 15:56:01 EDT