Generic CRUD framework

Posted on Sat 21 March 2015 in Programming

crud or crudsl (add search and list)

data schema

  • table of link id name href title category tags createtime updatetime

  • table of category id name desc createtime updatetime

DAO

create(Link link)
read(int linkid);
    read(string sortby, int order);
    read(string keyword)
update(Link link);
delete(int linkid)


https://mybatis.github.io/mybatis-3/zh/index.html

ORM framework

  • Hibernate

  • mybatis