- 博客(8)
- 收藏
- 关注
翻译 Spring boot 数据访问
使用h2时,by default it will have the org.h2.Driver driverclass, which is the connection URL as jdbc:h2:mem:testdb and the username: sa and password: empty toconnect to the H2 engine.The H2 engine offers ...
2018-04-19 18:41:04 139
翻译 spring 与spring boot
使用mvn创建项目例:mvn archetype:create -DgroupId=com.apress.j2ee -DartifactId=simple-web-app-DarchetypeArtifactId=maven-archetype-webapp上面用mvn创建的项目,默认使用原始的servlet api开发用mvn打包项目mvn clean packageGroovy Bean...
2018-04-19 17:43:41 180
转载 mysql 的权限 和索引
MySQL中的权限分为三大类,如下:Administrative privileges 用户此权限的用户能进行数据库管理的工作,不针对特别的数据库Database privileges 针对具体的某个数据库以及数据库下所有的对象Privileges for database objects 针对某个数据库对象,比如表、索引、视图、存储过程等MySQL的Multiple-Column IndexMy...
2018-04-19 17:07:09 399
原创 Spring boot 1 basics
Remember that the SpringFramework consists of about 20 modules or technologies, and the web technology is one of them. For the web technology, the Spring Framework has the spring-web, spring-webmvc, ...
2018-04-19 17:04:44 83
转载 mysql按年度、季度、月度、周、日的SQL统计查询
http://www.cnblogs.com/GarfieldEr007/p/6926322.html
2018-03-10 15:16:02 1404
转载 mysql TIMESTAMP和DATETIME列的自动初始化与自动更新
TIMESTAMP 和 DATETIME 列可以自动地被初始化和更新为当前的日期/时间。对于 TIMESTAMP 和 DATETIME 列,可以把当前时间戳设置为其默认值、自动更新值或者两者都设置:--对于auto-initialized 列,如果新插入的记录没有指定值,那么设置其值为当前时间戳。--对于auto-updated 列,如果这条记录的其他列的值发生变化,那么这一列就会被更新为发生变化...
2018-03-09 12:14:51 3950
转载 lucene
Analyzer "文本文件在被索引之前,需要经过Analyzer(分析器)处理。Analyzer是由IndexWriter的构造方法来指定的,它负责从被索引文本文件中提取语汇单元,并提出剩下的无用信息。如果被索引内容不是纯文本文件,那就需要先将其转换为文本文档。对于要将Lucene集成到应用程序的开发人员来说,选择什么样Analyzer是程序设计中非常关键的一步。分析器的分析对象为文档,该文档包...
2018-02-10 17:27:34 225
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人