ORM (Object Relational Mapping ) helps us to develop applications without writing repetitive SQL statements for select, update, insert and delete operations. For configuring ORM, we should have a datasource in the server. Also we need to enable ORM in our Application.cfc file. So the Application.cfc will look like, component { this.name = "ORMtest"; //Name of the Application this.datasource = "DatasourceName"; //setting datasource this.ormenabled = true; //Enabling ORM this.ormsettings.dbcreate = "update"; //Allows coldfusion to update database } For each tables in the database, we have to create different components or cfcs, which are called Entities. For example, if we have a table called 'Userdetails' , we can create a cfc 'userdetails.cfc', and we need to map the objects to tables. component ...