2019年11月9日
摘要: 1 导读 本文从 Java 虚拟机出发,整体围绕内存区域,并发散到 Class 的文件结构,Class 的字节码解析及分析,难度中等,建议对各个相关的知识稍有涉猎 2 运行时数据区 Java 虚拟机定义了若干种程序运行期间会使用到的运行时数据区,其中有一些会随着虚拟机启动而创建,随着虚拟机退出而销毁 阅读全文
posted @ 2019-11-09 15:56 四维胖次 阅读(208) 评论(0) 推荐(0) 编辑
  2019年10月31日
摘要: 1 关于 Auditing Auditing 翻译过来就是审计和审核,在实际的业务中,需要记录一张表的操作时间及操作者,并方便地记录操作日志,Spring Data JPA 为我们提供了审计的架构实现,并提供了4个注解专门实现这些功能 阅读指引: 使用参见 1,2,4; 基本了解参见 3.1,3.2 阅读全文
posted @ 2019-10-31 22:15 四维胖次 阅读(4797) 评论(0) 推荐(1) 编辑
  2019年10月30日
摘要: 3 查询方法 3.1 查询方法配置 3.2 方法查询策略设置 @EnableJpaRepositories 3.5 查询策略的属性表达式 对于以下两个实体类, 在 JPA 可以以遍历嵌套属性定义约束创建查询,其创建及查找过程: 具体实现参见:PartTree 及 PartTreeJpaQuery 1 阅读全文
posted @ 2019-10-30 12:07 四维胖次 阅读(279) 评论(0) 推荐(0) 编辑
  2019年6月17日
摘要: writes at beginning, sometime we need to save data into localStorage and control its life ourselves , and here is a good open source tool helps do thi 阅读全文
posted @ 2019-06-17 15:00 四维胖次 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1. for frontEnd 2. for Java 1 import java.io.Serializable; 2 3 /** 4 * <a href="https://restfulapi.net/http-status-codes/">HTTP Status Codes</a> 5 * r 阅读全文
posted @ 2019-06-17 14:30 四维胖次 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1. we need a service get the weather 1 import {Injectable} from '@angular/core'; 2 import {HttpClient, HttpResponse} from '@angular/common/http'; 3 im 阅读全文
posted @ 2019-06-17 14:20 四维胖次 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1. fist of all, we have a interface stands for the field type 2. then, we generate a service that can be used as bridge between these components 3. we 阅读全文
posted @ 2019-06-17 14:07 四维胖次 阅读(82) 评论(0) 推荐(0) 编辑