Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
BindingMain.java binding table May 19, 2016
BindingUser.java binding table May 19, 2016
BindingUserDao.java DAO方法统一使用public Feb 23, 2017
README.md drop table Jul 29, 2016

README.md

参数绑定

参数绑定相关文档请查看 http://mango.jfaster.org/binding.html

参数绑定

所有核心源码均在 BindingUserDao 中,使用 BindingMain 运行 BindingUserDao

需要在数据库 jdbc:mysql://localhost:3306/mango_example 中创建下面的表

DROP TABLE IF EXISTS `binding_user`;
CREATE TABLE `binding_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `age` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;