`
jodron
  • 浏览: 21354 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
oracle 递归查询 SELECT * FROM FD_PERMISSION WHERE STATUS = 1 START WITH ID = 1 CONNECT BY pid = PRIOR ID -- 递归查询子节点 ORDER BY PERMISSION_LEVEL, PID, CRAETE_TIME;
1、SQL语句错误的话会提示与SQL有关的错误信息。 2、内容不符合文件格式或规范的,会提示mapper不能注入。 Caused by: org.xml.sax.SAXParseException: 元素类型为 "mapper" 的内容必须匹配 "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+"。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.create ...
1、建立远程仓库。 2、建立连接(clone后替换连接文件与文件夹,删除旧的,如.git文件夹及之内的内容) 3、把要上传的项目复制到本地库目录下 4、提交并推送到远程服务器(add和commit,push) 注意:用户权限问题、SSH Keys和网络权限问题 具体实现参见:https://www.cnblogs.com/Chenshuai7/p/5486278.html 用户权限问题参见:http://blog.csdn.net/lhcxwjh/article/details/50802004 SSH Key配置:http://blog.csdn.net/xyzchenxiaolin/ar ...
1、打开sparrow项目主页https://github.com/sparrowzoo 2、点击sparrow查阅简介,点击star下的readme.md,转到https://github.com/sparrowzoo/sparrow-shell 3、查看并根据“初始化”的步骤依次执行 问题:git "Could not read from remote repository.Please make sure you have the correct access rights." 解决方案:参见自己写的iteye博客文章:http://jodron. ...
1、打开sparrow项目主页https://github.com/sparrowzoo 2、点击sparrow查阅简介,点击star下的readme.md,转到 3、查看并根据“初始化”的步骤依次执行 问题:git "Could not read from remote repository.Please make sure you have the correct access rights." 解决方案:在gitHub用户设置中添加SSH key即可。 参见自己写的iteye博客文章:http://jodron.iteye.com/blog/ ...
1、打开sparrow项目主页https://github.com/sparrowzoo 2、点击sparrow查阅简介,点击star下的readme.md,转到https://github.com/sparrowzoo/sparrow-shell 3、查看并根据“初始化”的步骤依次执行 问题:git "Could not read from remote repository.Please make sure you have the correct access rights." 解决方案:参见自己写的iteye博客文章:http://jodron.it ...
我们在使用git clone 或其他命令的时候,有时候会遇到这类问题,如图: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists. 出现这个 ...
一般是maven项目出现的情况,右键项目-->属性-->project facets-->convert to faceted form...点击即可 如下图:
如果传过来的参数是日期类型则与数据库日期的格式对应即可;如果传过来的参数是字符串类型,则须做类型转换。 代码如下: <if test="createTime != null"> AND CRAETE_TIME = TO_TIMESTAMP(#{createTime,jdbcType=TIMESTAMP}, 'YYYY-MM-DD HH24:MI:SS:FF6') </if>
entity里的每一个字段,与数据库相对应, dto里的每一个字段,是和你前台页面相对应, 而VO,是用类做entity和dto之间转换的实体类。 参考: Java各种对象(PO,BO,VO,DTO,POJO,DAO,Entity,JavaBean,JavaBeans)的区分: https://www.cnblogs.com/lyjin/p/6389349.html entity与vo的映射方法: http://blog.csdn.net/Halleycomett/article/details/78697165
一、总结 1、日期格式不能随意,必须固定才能自动转换,无论使用FastJson还是JSONUtils 2、对无法避免的json传人参数类型或格式错误,乐观思想做异常处理 二、代码 1、FastJson: com.alibaba.fastjson.JSON.parseObject(menuObjectData,Menu.class); 2、JSONUtils: /** * Description: 把json字符串转换为对象 * @param jsonStr * @param beanClass * @return */ public sta ...
如下修改即可: window-->Preferences-->java--debug
Java 8 刚于几周前发布,日期是2014年3月18日,这次开创性的发布在Java社区引发了不少讨论,并让大家感到激动。特性之一便是随同发布的lambda表达式,它将允许我们将行为传到函数里。在Java 8之前,如果想将行为传入函数,仅有 ...
一般是maven项目出现的情况,右键项目-->属性-->project facets-->convert to faceted form...点击即 可
Global site tag (gtag.js) - Google Analytics