上一页 1 ··· 157 158 159 160 161 162 163 164 165 ··· 491 下一页
摘要: Service: package com.example.ec.service; import com.example.ec.domain.Tour; import com.example.ec.domain.TourRating; import com.example.ec.repo.TourRa 阅读全文
posted @ 2020-12-23 03:40 Zhentiw 阅读(475) 评论(0) 推荐(0)
摘要: If one request failed, we want to keep database untouched as if the request never happen. Spring makes it easy to add: @Transactional To the method or 阅读全文
posted @ 2020-12-23 02:14 Zhentiw 阅读(100) 评论(0) 推荐(0)
摘要: The CSS property object-fit instructs an img to act as the container for its own contents. We can then use the value cover to have the image content b 阅读全文
posted @ 2020-12-20 21:35 Zhentiw 阅读(104) 评论(0) 推荐(0)
摘要: Learn how to use the modern CSS property clamp() to create responsive layout sizing that adjusts to the viewport size without the use of media queries 阅读全文
posted @ 2020-12-20 21:32 Zhentiw 阅读(110) 评论(0) 推荐(0)
摘要: Apply a grayscale and blurred effect on an image without the use of graphics software by using the CSS filter property. Additionally, use an inset box 阅读全文
posted @ 2020-12-20 21:28 Zhentiw 阅读(111) 评论(0) 推荐(0)
摘要: Repo: public interface CourseRepository extends CrudRepository<Course,Integer>{ Optional<Course> findByName(String name); @Query("Select new com.examp 阅读全文
posted @ 2020-12-20 20:40 Zhentiw 阅读(193) 评论(0) 推荐(0)
摘要: @Test public void queryByExample() { System.out.println("\nFind the Department with the name 'Humanities' \n" + departmentRepository.findOne(Example.o 阅读全文
posted @ 2020-12-18 04:24 Zhentiw 阅读(145) 评论(0) 推荐(0)
摘要: package com.example.university.repo; import com.example.university.domain.Staff; import org.springframework.data.domain.Page; import org.springframewo 阅读全文
posted @ 2020-12-18 04:20 Zhentiw 阅读(123) 评论(0) 推荐(0)
摘要: package com.example.university.repo; import com.example.university.domain.Staff; import com.example.university.domain.Student; import com.example.univ 阅读全文
posted @ 2020-12-18 04:10 Zhentiw 阅读(236) 评论(0) 推荐(0)
摘要: Entity: package com.example.university.domain; import javax.persistence.*; import java.util.ArrayList; import java.util.List; /** * JPA Entity represe 阅读全文
posted @ 2020-12-18 03:59 Zhentiw 阅读(117) 评论(0) 推荐(0)
上一页 1 ··· 157 158 159 160 161 162 163 164 165 ··· 491 下一页