上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 498 下一页
摘要: Repo: package com.example.ec.repo; import com.example.ec.domain.TourRating; import com.example.ec.domain.TourRatingPk; import org.springframework.data 阅读全文
posted @ 2020-12-16 03:13 Zhentiw 阅读(111) 评论(0) 推荐(0)
摘要: package com.example.ec.web; import com.example.ec.domain.Tour; import com.example.ec.domain.TourRating; import com.example.ec.domain.TourRatingPk; imp 阅读全文
posted @ 2020-12-16 03:02 Zhentiw 阅读(339) 评论(0) 推荐(0)
摘要: Controller: package com.example.ec.web; import com.example.ec.domain.Tour; import com.example.ec.domain.TourRating; import com.example.ec.domain.TourR 阅读全文
posted @ 2020-12-15 02:53 Zhentiw 阅读(138) 评论(0) 推荐(0)
摘要: 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 阅读(234) 评论(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 阅读(99) 评论(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 阅读(133) 评论(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 阅读(138) 评论(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 阅读(99) 评论(0) 推荐(0)
上一页 1 ··· 165 166 167 168 169 170 171 172 173 ··· 498 下一页