If views are mapped to form domain objects, table schema are mapped to data domain objects. It is the depiction of a table schema definition that can be used for inserting, updating, removing and reading records. In JPA implementation, these data domain classes are called entity classes. In Hibernate these are called persistent classes. In MyBatis and Spring JDBC, these are just POJOs.
Given the Tblregistration
table, SMP's domain class for this table is shown as follows:
public class Tblregistration { private String firstName; private String midName; private String lastName; private Date birthDate; private String gender; // More on the source public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } // More on the source }