|
Doug,
I've been perusing the source code for Reactor in
the hopes (likely vain) that I could make a quick fix / patch for the MSSQL
alias in where clause bug. I noticed that the abstractRecord calls the getDao
method -- but this method doesn't exist in abstractRecord; it exists only in the
generated [alias]Record.cfc, which extends abstractRecord. This means that a
base object is calling a method in an inherited object, which isn't a very nice
thing in OO terms (and wouldn't work in the Java world). If I may be so bold, I
would recommend adding the getDao method (and any others that are in the
generated CFC but not in the base) to the base (abstractRecord in this case) and
have it either do nothing or throw an error, since it must be implemented by the
inheriting object.
Christopher Bradford Alive! LLP
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Abstract base CFCs and generated CFC... Christopher Bradford
- Re: [Reactor for CF] Abstract base CFCs and gene... Sean Corfield
- RE: [Reactor for CF] Abstract base CFCs and gene... Doug Hughes
- Re: [Reactor for CF] Abstract base CFCs and gene... Christopher Bradford
- Re: [Reactor for CF] Abstract base CFCs and gene... Tom Chiverton

