반응형 반응형 전체 글130 반응형 Execution failed for task ':test'. gradle로 되어있을 확률 99%!! test using을 인텔리제이로 바꿔준다! 2022. 5. 23. jpa Specifications JpaSpecificationExecutor 추가 public interface Repository extends JpaRepository,JpaSpecificationExecutor{ } spec.class 생성 entity 들은 자기 entity 값들을 맞춰준다. import java.util.List; import javax.persistence.criteria.Predicate; import org.springframework.data.jpa.domain.Specification; public class TestSpecification { /** * 검색옵션 가져오기 * @author me * @param List * @return list */ public static Specification .. 2022. 5. 17. react bootstrap npm install react-bootstrap bootstrap index.js 수정 import 'bootstrap/dist/css/bootstrap.css'; 돔에다가 className="table table-success table-striped" 이런식으로 해주면 된다. class ="" 이런식으로 주면 되긴되는데 에러남 import React from "react"; import { useTable } from "react-table"; function Table({ columns, data }) { const { getTableProps, getTableBodyProps, headerGroups, rows, prepareRow } = useTable({ columns, data }); re.. 2022. 5. 10. jpa paging , sort /** * @author me * @Param Pageable */ @GetMapping("") public @ResponseBody Object list(@PageableDefault(page = 0, size = 10, sort = "createDate", direction = Direction.DESC) Pageable pageable){ //PageRequest pageRequest = PageRequest.of(0, 5,Sort.by("createDate").descending()); return service.list(pageable); } 2022. 5. 10. 이전 1 ··· 11 12 13 14 15 16 17 ··· 33 다음 반응형