码迷,mamicode.com
首页 >  
搜索关键字:ebean    ( 126个结果
通用分页(一)
核心思路:将上一次 的查询请求再发送一次,这一次改变页码 PageBean private int page; 页数 private int rows; 行数 private boolean pagination; 是否分页 private int total; 总行数; ...
分类:其他好文   时间:2019-06-21 09:32:58    阅读次数:122
Spring 简化装配Bean的配置方式
简化配置方式 Spring 为字面值、引用 Bean 和集合都提供了简化的配置方式。如果没有用到完整配置格式的特殊功能,用户大可使用简化的配置方式。下面分别为上面提及的配置内容给出简化前和简化后的版本。 1.字面值属性 <property name="maxSpeed"> <value>200</v ...
分类:编程语言   时间:2019-06-19 00:18:50    阅读次数:163
java.sql.SQLException: The server time zone value '?й???????' is unrecognized or represents more than one time zone.
在使用爬虫进行爬取数据的时候,因为没有设置好serverTimezone=UTC 然后就会出现上面的异常 ...
分类:数据库   时间:2019-05-25 19:42:02    阅读次数:118
spring注解之组件注册
1.组件注册是什么? spring组件有十几种,但核心的只有三个:Context、Core和Bean。 那么这三个组件的关系是什么呢? -Context:容器 -Core :关系 -bean:实物 -一句话:在springIOC运行容器(Context)中,通过Core建立维护各个bean之间的关系 ...
分类:编程语言   时间:2019-05-03 09:57:53    阅读次数:185
Spring Bean's life
In contrast, the lifecycle of a bean in a Spring container is more elaborate. It’simportant to understand the lifecycle of a Spring bean, because you ...
分类:编程语言   时间:2019-04-24 20:57:30    阅读次数:201
简单的SSM-Shiro安全框架搭建
首先需要导jar包! 配置你自己的web.xml 接下来创建一个spring-shiro.xml,我是自己这样写的,你们写的啥自己看看 <aop:config proxy-target-class=“true” ></aop:config> 对了,你们springmvc.xml中还需要添加一段配置, ...
分类:其他好文   时间:2019-04-19 01:15:05    阅读次数:164
Spring IOC容器
IoC 容器 Spring 容器是 Spring 框架的核心。容器将创建对象,把它们连接在一起,配置它们,并管理他们的整个生命周期从创建到销毁。 Spring 容器使用依赖注入(DI)来管理组成一个应用程序的组件。这些对象被称为 Spring Beans。 通过阅读配置元数据提供的指令,容器知道对哪 ...
分类:编程语言   时间:2019-04-03 21:55:15    阅读次数:192
spring boot 源码分析-------ApplicationContext
上下文ConfigurableApplicationContext的创建。 根据webEnvironment创建对应的上下文。web应用创建的是下面这个类型的上下文。 看AnnotationConfigEmbeddedWebApplicationContext的构造方法。 需要创建一个reader和 ...
分类:移动开发   时间:2019-03-15 17:23:57    阅读次数:222
java sql SQLException Access denied for user 'sa' 'localhos
1、错误描述 ERROR:2015-05-01 23:43:04[localhost-startStop-1] - HHH000319: Could not get database metadata java.sql.SQLException: Access denied for user 'sa ...
分类:数据库   时间:2019-02-15 15:17:10    阅读次数:138
spring-data-solr
Spring Data Solr就是为了方便Solr的开发所研制的一个框架,其底层是对SolrJ(官方API)的封装 (1) 配置业务域 vim /usr/local/solr/solrhome/collection1/conf/schema.xml (2) 引入相关依赖 (3) 在相应pojo类中 ...
分类:编程语言   时间:2019-01-26 11:12:07    阅读次数:197
126条   上一页 1 ... 3 4 5 6 7 ... 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!