背景

做个简单的接口开发,拿到的平台比较不理想,好久没重新搭建一个了,正好练练手。用了基础的servlet,maven,logback(log4j不支持格式化,比较烦人),fastjson,druid,dbutils,httpclient,freemarker。

基本按照mvc模式分层,但是少了个代码生成器,用mybatis和hibernate都有自带的。但是我用dbutils没有,所以就用freemarker自己写了。基本都很顺利,有个搞笑问题,DatabaseMetaData返回主键总是多个,开始为了赶,就去了重,后来想到应该是数据库有好几个用户都有这个表的原因,倒腾了半天,那个传用户的参数不行,后来想到用户名是否该大写。真是厉害了,解决了。databaseMetaData.getPrimaryKeys(null, USER.toUpperCase(), tableName);

同时温习了

DatabaseMetaData,ResultSet,ResultSetMetaData这三个类型。

最新文章

  1. Burp Suite 使用教程(上传突破利器)
  2. one recursive approach for 3, hdu 1016 (with an improved version) , permutations, N-Queens puzzle 分类: hdoj 2015-07-19 16:49 86人阅读 评论(0) 收藏
  3. delphi 10.1 berlin最新的开发框架:咏南中间件+咏南开发框架,购买后提供全部的源码
  4. Android 异步加载图片,使用LruCache和SD卡或手机缓存,效果非常的流畅
  5. vim 多行同时输入,且输入数值递增
  6. C# CodeHelper
  7. Vijos 1010 清帝之惑之乾隆
  8. Cain工具ARP欺骗攻击
  9. Django 表单校验 表单字段设置 自定义表单校验规则
  10. 安卓笔记-可以滚动的TextView
  11. Android MVP
  12. Xcode 断点无用,也不打印输出
  13. nginx 代理 https 后,应用变成 http
  14. 026_关于shell中的特殊变量$0 $n $* $@ $! $?
  15. [7] Windows内核情景分析---线程同步
  16. Spring-data-jpa 常用的时间注解
  17. 设计模式原则(4)--Interface Segregation Principle(ISP)--接口隔离原则
  18. http-equiv="Refresh" 实现定时刷新页面
  19. sql经常出现死锁解决办法
  20. P1564 膜拜

热门文章

  1. RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your c
  2. Powershell同时使用可选强制参数
  3. 一.从零认识XAML
  4. 删除 node_modules文件夹cmd指令
  5. 【经典数据结构】B树与B+树
  6. GitHub最基本使用总结
  7. 洛谷P3806 点分治
  8. 通过crontab调度java -jar任务提示"nohup: failed to run command `java': No such file or directory"
  9. 字符串str的使用方法
  10. 使用catboost解决ML中高维度不平衡数据集挑战的解决方案