From: Nick <ni...@dd...> - 2003-04-28 19:50:09
|
I was wondering, when instantiating a Join object, shouldn't joinColumn default to idName of the class instead of always making up the id column with the Style? I mean, if I define _idName for my class, then for every single join I have to say joinColumn = idName. Does this make sense to anyone? Why am I doing something so stupid in my database naming? Because I defined a database with the tables "user" and "group", found out pgsql didn't like those names, so I renamed the tables "users" and "groups" without chaging "user_id" and "group_id" references. Am I lazy? Yes, but I think what I'm asking makes sense on some level anyhow. Nick |