上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 有错欢迎指出 numeric = [34578] crunch 11 11 -f ./num.txt numeric -t 1@%%%%%%%%% 57220 MB55 GB0 TB0 PBCrunch will now generate the following number of lines: 阅读全文
posted @ 2019-01-31 23:53 mljqqh 阅读(323) 评论(0) 推荐(0) 编辑
摘要: java.lang.AbstractMethodError: org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout()Ljava/lang/Integer; 阅读全文
posted @ 2019-01-20 00:40 mljqqh 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-01-01 16:36 mljqqh 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 普通测试 依赖: <!--spring单元测试依赖 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${springframework}5.0. 阅读全文
posted @ 2018-12-30 21:21 mljqqh 阅读(84) 评论(0) 推荐(0) 编辑
摘要: org.springframework.beans.BeanInstantiationException: Failed to instantiate [demo.Words]: No default constructor found; nested exception is java.lang. 阅读全文
posted @ 2018-10-22 22:27 mljqqh 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 下面这个是很好的例子 ,解释清楚了, 浅克隆和深克隆 百度经验 浅克隆只能用于克隆对象成员变量没有引用的时候. 深克隆可以完美的克隆含有引用变量的对象 . 实现深克隆的两种方式: 第一种:必须实现实现Cloneable接口(是一个标记接口,里面没有任何方法),然后使用clone()方法 第二种:使用 阅读全文
posted @ 2018-09-27 02:00 mljqqh 阅读(172) 评论(0) 推荐(2) 编辑
摘要: class Annoyance extends Exception {} class Sneeze extends Annoyance {} class Human { public static void main(String[] args) throws Exception { try { try { throw new Sneeze(); } ... 阅读全文
posted @ 2018-09-24 00:37 mljqqh 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 一、 什么是事务事务就是一段sql 语句的批处理,但是这个批处理是一个atom(原子) ,不可分割,要么都执行,要么回滚(rollback)都不执行。二、为什么出现这种技术为什么要使用事务这个技术呢? 现在的很多软件都是多用户,多程序,多线程的,对同一个表可能同时有很多人在用,为保持数据的一致性,所以提出了事务的概念。这样很抽象,举个例子: A 给B 要划钱,A 的账户-1000元, B 的账户就... 阅读全文
posted @ 2018-09-23 23:36 mljqqh 阅读(162) 评论(0) 推荐(1) 编辑
摘要: update user set host = '%' where user = 'root';增:create table 数据库名称 ; 创建数据库 create 表名{字段名称 字段类型(长度) 约束, };create table students(id int not null primary key auto_increment,name char(10),age int,);char... 阅读全文
posted @ 2018-09-23 23:35 mljqqh 阅读(96) 评论(0) 推荐(0) 编辑
摘要: @Testpublic void method() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { //创建集合ArrayList list = new ArrayList(); //通过对象获取字节码对象Class aClass = list.getC... 阅读全文
posted @ 2018-09-23 02:45 mljqqh 阅读(183) 评论(1) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页