上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 491 下一页
摘要: New broadcaster: compose: export let combine = (broadcaster1, broadcaster2) => listener => { let value1; let value2; let cancel1 = broadcaster1(value 阅读全文
posted @ 2020-12-17 15:49 Zhentiw 阅读(113) 评论(0) 推荐(0)
摘要: All features of CrudRepository plus: void flush(); saveAndFlush() delteInBatch() delteAllInBatch() package com.example.university.repo; import com.exa 阅读全文
posted @ 2020-12-17 02:36 Zhentiw 阅读(125) 评论(0) 推荐(0)
摘要: domain/Course.java package com.example.university.domain; import javax.persistence.*; /** * JPA Entity for a Course offered at the University. * <p> * 阅读全文
posted @ 2020-12-17 02:31 Zhentiw 阅读(139) 评论(0) 推荐(0)
摘要: @OneToMany: One Student To Many Courses. @JoinTable(name = "Enrollment"): Join Enrollment table. joinColumns: with use "student_id" to link Student an 阅读全文
posted @ 2020-12-17 02:14 Zhentiw 阅读(319) 评论(0) 推荐(0)
摘要: 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 阅读(99) 评论(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 阅读(333) 评论(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 阅读(125) 评论(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 阅读(220) 评论(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 阅读(84) 评论(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 阅读(74) 评论(0) 推荐(0)
上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 491 下一页