Whatever message this page gives is out now! Go check it out!

Mapping CFCs without properties

Last update:
Jun 9, 2026
If a persistent CFC has no property, all table columns are added as properties provided that the table exists and you have specified it.

Example

Artist.cfc
component persistent="true" table="artists" 



}
index.cfm
<cfset artists = entityLoad("Artist")> 

<cfdump var="#artists#">
The columns are fetched only as column properties. Relationship, timestamp, or version field are not added.

Limitations

  • If the mapping file for the CFC exists, then the properties are not added automatically.
  • In the case of inheritance, properties are not added to the CFC automatically.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page