上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 494 下一页
摘要: In software, we come across many use cases when we need to have a composite primary key to define an entry in a table. Composite primary keys are keys 阅读全文
posted @ 2020-12-15 02:05 Zhentiw 阅读(226) 评论(0) 推荐(0)
摘要: @RestResource(exported = false): makes the endpoint no longer visible for public. package com.example.ec.repo; import com.example.ec.domain.TourPackag 阅读全文
posted @ 2020-12-14 04:16 Zhentiw 阅读(90) 评论(0) 推荐(0)
摘要: package com.example.ec.repo; import com.example.ec.domain.Difficulty; import com.example.ec.domain.Region; import com.example.ec.domain.Tour; import o 阅读全文
posted @ 2020-12-14 03:51 Zhentiw 阅读(77) 评论(0) 推荐(0)
摘要: Entity: package com.example.ec.domain; import javax.persistence.*; @Entity public class Tour { @Id @GeneratedValue private Integer id; @Column private 阅读全文
posted @ 2020-12-12 22:01 Zhentiw 阅读(130) 评论(0) 推荐(0)
摘要: To build out our word game, we will have to be able to share the word across a few places. This means we have to set up a broadcaster that will push t 阅读全文
posted @ 2020-12-10 17:00 Zhentiw 阅读(131) 评论(0) 推荐(0)
摘要: The racing condition would be one possible bug when we apply cache a newtwork request. For example, we implement a search box, for all the requests, w 阅读全文
posted @ 2020-12-09 15:59 Zhentiw 阅读(70) 评论(0) 推荐(0)
摘要: Caches exist to make things faster (at the expense of taking up more memory and possibly outdated results). Our live search is a great use case for im 阅读全文
posted @ 2020-12-09 15:40 Zhentiw 阅读(98) 评论(0) 推荐(0)
摘要: Create you own decreator! Add dependency: <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.5</version> 阅读全文
posted @ 2020-12-09 03:35 Zhentiw 阅读(179) 评论(0) 推荐(0)
摘要: In previous post, we check how to use ifElse to branch out the logic: https://www.cnblogs.com/Answer1215/p/14093562.html let inputToBooks = pipe( wait 阅读全文
posted @ 2020-12-08 22:28 Zhentiw 阅读(117) 评论(0) 推荐(0)
摘要: You can do git log first to check which commit message you want to revert to. For example 'xxxxx123' is the commit id we want to revert to. Then do: g 阅读全文
posted @ 2020-12-08 15:19 Zhentiw 阅读(242) 评论(0) 推荐(0)
上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 494 下一页