본문 바로가기 메뉴 바로가기

Grand_J

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Grand_J

검색하기 폼
  • 전체!!차렷 (357)
    • Java & Spring & SpringBoot (103)
    • DB & Redis (35)
    • DevOps (28)
    • React & Vue (27)
    • GitHub & Gitlab (11)
    • NodeJS (14)
    • JSP & JavaScript (47)
    • Kendo UI (15)
    • Wordpress (6)
    • HELLO!! (4)
    • etc (65)
  • 방명록

Java & Spring & SpringBoot (103)
JAVA Spring Redis 검색 조회 및 페이징 기능

JAVA Spring Redis 검색 조회 및 페이징 기능 public List getSearchDataList(String searchData, int pageNum, int pageSize) { if("all".equals(searchData)){ searchData = "*"; } else { searchData = "*"+searchData+"*"; } ScanOptions scanOptions = ScanOptions.scanOptions().match(searchData).build(); Cursor keys = redisTemplate.getConnectionFactory().getConnection().scan(scanOptions); List keysDataList = new ArrayL..

Java & Spring & SpringBoot 2023. 5. 17. 10:03
Spring Boot VM arguments 세팅 방법 (properites, profile, System.getProperty)

Spring Boot VM arguments 세팅 방법 (properites, profile, System.getProperty) 1. 프로젝트 오른쪽 클릭 > Run As > Run Configuration ... 클릭 2. Arguments 탭 > VM arguments 내 작성 -Dkey=value 3. Java에서 사용시 System.getProperty("key") 로 가져와서 사용 String license = System.getProperty("app.license"); 끗12#!@#

Java & Spring & SpringBoot 2022. 7. 26. 08:51
Eclipse gradle import Unsupported class file major version 61 error 해결방법

Eclipse gradle import Unsupported class file major version 61 error 해결방법 Could not run phased build action using connection to Gradle distribution ... startup failed: General error during conversion: Unsupported class file major version 61 java.lang.IllegalArgumentException: Unsupported class file major version 61 gradle, jdk 세팅 안되있어서 그런것.. java path 가 잡혀있지 않음 1. 프로젝트 우클릭 > Properties > Gradle >..

Java & Spring & SpringBoot 2022. 7. 25. 22:30
Eclipse Git/SVN gradle 세팅

Eclipse Git/SVN gradle 세팅 1. import > svn > 2. 2. gradle 프로젝트로 변경 끗!@#!@#

Java & Spring & SpringBoot 2022. 7. 25. 22:19
Spring Batch Job 실행 중 비정상적인 Job 상태 변경하는 법

Spring Batch Job 실행 중 비정상적인 Job 상태 변경하는 법 ContextRefreshedEventListener.java import java.util.Date; import java.util.Set; import org.springframework.batch.core.BatchStatus; import org.springframework.batch.core.JobExecution; import org.springframework.batch.core.StepExecution; import org.springframework.batch.core.explore.JobExplorer; import org.springframework.batch.core.repository.JobRepositor..

Java & Spring & SpringBoot 2022. 7. 6. 13:46
Spring Batch Job Complete 상태 동일 Job 생성 방법

Spring Batch Job Complete 상태 동일 Job 생성 방법 private final JobLauncher jobLauncher; private final MemberJobConfiguration jobConfig; JobParameters jobParameters = new JobParametersBuilder().addLong("time",System.currentTimeMillis()).toJobParameters();// 동일 작업 실행하기 위해 set JobExecution execution = jobLauncher.run(jobConfig.membersJob(), jobParameters); JobParameters를 생성하여 파라미터 값을 계속 변경 해 주면 성공한 Job이라도..

Java & Spring & SpringBoot 2022. 7. 6. 13:43
Spring Batch 배치 정보 테이블 생성 없이 사용하는 방법

Spring Batch 배치 정보 테이블 생성 없이 사용하는 방법 BatchConfiguration.java import javax.sql.DataSource; import org.springframework.batch.core.configuration.annotation.DefaultBatchConfigurer; import org.springframework.context.annotation.Configuration; import lombok.extern.slf4j.Slf4j; @Slf4j @Configuration public class BatchConfiguration extends DefaultBatchConfigurer { // @see org.springframework.batch.core...

Java & Spring & SpringBoot 2022. 7. 6. 13:39
JAVA&AJAX 엑셀파일 다운로드 기능 (POI 방법아님)

JAVA @ApiOperation(value="엑셀 다운로드", notes="엑셀다운로드") @GetMapping("/excelDownload") public ResponseEntity selectItemListExcelDownload(HttpServletRequest request, ItemListReqDto itemListReqDto) { long beforeTime = System.currentTimeMillis(); log.info("엑셀 쿼리 조회 시작 : "+beforeTime); List itemList = new ArrayList(); itemList = service.selectItemListExcelDownload(itemListReqDto); long afterTime = System..

Java & Spring & SpringBoot 2022. 6. 21. 13:46
Java Decompiler .class 파일 디컴파일하여 소스보기

Java Decompiler .class 파일 디컴파일하여 소스보기 http://java-decompiler.github.io/#jd-gui-download Java Decompiler The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions. JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reco java-decompiler.github.io JD-GUI > download 탭 > j..

Java & Spring & SpringBoot 2021. 6. 16. 14:10
JAVA 시작, 종료시간 계산 (분으로 환산)

JAVA 시작, 종료시간 계산 (분으로 환산) // 시작시간, 종료시간 받아서 시간 계산 public static int getMin(String str, String end) { int result = 0; try { String[] str_arr = str.split(":"); int str_hour = Integer.parseInt(str_arr[0]); int str_minute = Integer.parseInt(str_arr[1]); String[] end_arr = end.split(":"); int end_hour = Integer.parseInt(end_arr[0]); int end_minute = Integer.parseInt(end_arr[1]); LocalDateTime sdt = L..

Java & Spring & SpringBoot 2021. 4. 7. 10:16
이전 1 2 3 4 5 ··· 11 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 고흥 여행
  • 송내 룸카페
  • 은파호수공원
  • 남자 혼자 여행
  • Docker
  • 나래바이크
  • 스쿠터 여행
  • 송내역 룸카페
  • 제주도 스쿠터 여행
  • 송내 카페
  • vscode
  • 군산 여행
  • 스쿠터 전국 일주
  • 전국 일주 여행
  • 군산 가볼만한곳
  • 초원사진관
  • 인터바이크
  • 국제반점
  • 남자 혼자 국내 여행
  • 군산 게스트하우스
  • 송내역 카페
  • 오라클 DB 링크
  • 보성 여행
  • 베스파LX
  • 돌장갑
  • 담양 여행
  • kendo grid
  • 윈드스크린
  • 영광 여행
  • 리니지m
more
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바