The column_name is actually in whatever case the column name is using in the database. For a one-time generation this might be fine, but one definitely wouldn't want to be doing this on every method call.
However, passing a DSN to an advice, or just a properly-formatted list of property names, is simple using my MetaDataAwareAdvice. You might have a look at that to see if it would work for you. http://www.briankotek.com/blog/index.cfm/2008/1/17/Yet-More-ColdSpring-Joy-Example-Files-for-AbstractMetadataAwareAdvice On Jan 29, 2008 10:35 AM, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Tuesday 29 Jan 2008, João_Fernandes wrote: > > I usually have dbinfo to get the needed metadata and generate my code > > based on that. > > This in the context of a piece of AOP AfterAdvice, so it doesn't really > have > the DSN to hand, never mind the table name, other wise yeah, that might > work > but I bet (without checking) that COLUMN_NAME is wrongly cased there too. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4