BAEL-1276 | Adding example of ActiveJDBC

This commit is contained in:
BineshNarayanan
2018-01-18 12:22:06 +08:00
parent aa0785ca16
commit a8f6c9f9fb
7 changed files with 313 additions and 0 deletions
@@ -0,0 +1,18 @@
package com.baeldung.model;
import org.javalite.activejdbc.Model;
import org.javalite.activejdbc.annotations.Table;
@Table("EMP_ROLES")
public class Role extends Model {
public Role(){
}
public Role(String role,String createdBy){
set("role_name",role);
set("created_by",createdBy);
}
}