| Because PayPal has a base dataset of 30-odd return values for one transaction token and I was in too big of a hurry to be bother mapping on my end. I cflooped a resultset to generated the SQL CREATE TABLE statement, ran it, and now am basically doing this: <!--- getRecord(recordName) is a utility method of mine ---> <cfset Ledger = getRecord("Ledger")> <cfset Ledger = arguments.event.makeEventBean(Ledger,structKeyList(Ledger.getInstance()))> <cfset Ledger.save()> In other words, instead of the DB mandating the names of the fields in my forms (normal), in the case of dealing with PayPal I'm forced to let their field names define the column names in my tables. That's also the case in legacy situations, and when dealing with any other case where the data and it's key names are defined outside your system. This means that without either my mapping these fields to columns by hand or some sort of mapping facility in the ORM library, I have no choice but to tolerate method names like getPayment_Status() and setSeller_Address("[EMAIL PROTECTED]")... which is just painful. Laterz, J ------------------------------------------------ Jared C. Rypka-Hauer Continuum Media Group LLC Member, Team Macromedia - ColdFusion "That which does not kill me makes me stranger." - Yonah Schmeidler On Feb 9, 2006, at 12:32 PM, Joe Rinehart wrote:
|
- Reactor For CF Object Relational Mapping Miller, Ryan
- Re: Reactor For CF Object Relational Mapping Jared Rypka-Hauer
- Re: Reactor For CF Object Relational Mapping Joe Rinehart
- Re: Reactor For CF Object Relational Mappin... Joe Rinehart
- Re: Reactor For CF Object Relational Ma... Dave Shuck
- Re: Reactor For CF Object Relational Mappin... Jared Rypka-Hauer
- Re: Reactor For CF Object Relational Mapping Marlon Moyer
- Re: Reactor For CF Object Relational Mapping Tormod Boga
- RE: Reactor For CF Object Relational Mapping Michael Lantz
- RE: Reactor For CF Object Relational Mappin... Doug Hughes
- RE: Reactor For CF Object Relational Mappin... Tormod Boga
- Re: Reactor For CF Object Relational Mappin... Jared Rypka-Hauer
- Re: Reactor For CF Object Relational Ma... Kurt Wiersma
- RE: Reactor For CF Object Relational Mapping Miller, Ryan
- RE: Reactor For CF Object Relational Mapping Michael Lantz
- RE: Reactor For CF Object Relational Mapping Tormod Boga

