On 2/10/07, Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote:
> I suggest changing the looks_like_map_table to not match "foo_bars",
> but only *_map and "foos_bars".  I realize we can just override it in
> our convention manager, but it's a goofy default, I think.   Either I
> don't understand entirely how the looks_like_map_method is used or I
> don't understand what kind of crazy naming scheme would call a
> mapping table "foo_bars".  :-)

Here's an example: a product_colors table would contain information
about which colors apply to a particular product.  IME, that naming
scheme is about as common as the others.

> Actually, ideally it would just match things with two columns that
> both reference other tables (and/or something like
> looks_like_map_class), but that might be much harder to do.

I believe it does also look to see that there are two foreign keys or
*-to-one relationships.

-John

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to