A
-
DBeaver 참 강력하고 편한 툴입니다. 거기다 무료인데 엄청나죠... 하지만 처음 설치하고 쿼리를 입력할 때 from 절 이후 계속 alias(별칭)이 자동으로 완성됩니다. Alias 를 끄는 설정에 대해 포스팅하겠습니다. 위치는 DBeaver → 편집기 → SQL 편집기 → SQL 자동완성 → Insert table aliases (in FROM clause) 를 체크해제 해주시면 됩니다! 영문으로 사용하시는 분은 사진의 위치만 보셔도 확인해서 찾을 수 있을겁니다! 그럼 설정은 여기까지! 끝!
[DBeaver] DBeaver Disable Auto Alias 별칭 자동완성 끄기DBeaver 참 강력하고 편한 툴입니다. 거기다 무료인데 엄청나죠... 하지만 처음 설치하고 쿼리를 입력할 때 from 절 이후 계속 alias(별칭)이 자동으로 완성됩니다. Alias 를 끄는 설정에 대해 포스팅하겠습니다. 위치는 DBeaver → 편집기 → SQL 편집기 → SQL 자동완성 → Insert table aliases (in FROM clause) 를 체크해제 해주시면 됩니다! 영문으로 사용하시는 분은 사진의 위치만 보셔도 확인해서 찾을 수 있을겁니다! 그럼 설정은 여기까지! 끝!
2020.05.23 -
등록, 수정에서 불러오는 select박스와 등록(저장)/수정(저장)할 때의 select박스의 값은 다르다. 즉, mybatis에서 등록,수정에서 필요한 값이 두개(boxVO, winVO)의 VO에 각각 있는데 굳이 boxVo에 있는 특정 값을 불러와서 insert 문에 넣을 필요가 없다. 이유는 JSP 에서 select 로 선택된 값을 name으로 보내면 되기 때문이다.
프로젝트] Mybatis 문에 insert 할 때 ..등록, 수정에서 불러오는 select박스와 등록(저장)/수정(저장)할 때의 select박스의 값은 다르다. 즉, mybatis에서 등록,수정에서 필요한 값이 두개(boxVO, winVO)의 VO에 각각 있는데 굳이 boxVo에 있는 특정 값을 불러와서 insert 문에 넣을 필요가 없다. 이유는 JSP 에서 select 로 선택된 값을 name으로 보내면 되기 때문이다.
2020.05.22 -
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOfficeList'. It's likely that neither a Result Type nor a Result Map was specified. Mybatis 에 resultType 을 제대로 명시해주지 않아서 생긴 오류...
프로젝트] 에러 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOffi..org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOfficeList'. It's likely that neither a Result Type nor a Result Map was specified. Mybatis 에 resultType 을 제대로 명시해주지 않아서 생긴 오류...
2020.05.21 -
깃 관련 인텔리제이 한글 표시 set LC_ALL=ko_KR.UTF-8 깃 변경받기 : git pull --rebase origin develop 로컬 커밋합치기 : git rebase -i HEAD~2 => 가장 상위의 커밋만 놔두고 pick을 다 s 로 고친다 git add . git rebase 푸쉬 : git push --force git 머지 리퀘스트 하고 나서는 새로운 브런치를 따서 작업. 새로운 브런치를 만들 때는 develop 을 기준으로 해서 만들어야함. git reset --HARD 내가 작업한게 있는 상황에서 merge develop를 하지 않았을 때 git pull --rebase 를 해서 작업한 내역을 올린다. 그리고 기존에 작업했던 commit 이 올라오고 최신으로 올라온 브런치..
git] 실전 상황에서 쓰이는 git깃 관련 인텔리제이 한글 표시 set LC_ALL=ko_KR.UTF-8 깃 변경받기 : git pull --rebase origin develop 로컬 커밋합치기 : git rebase -i HEAD~2 => 가장 상위의 커밋만 놔두고 pick을 다 s 로 고친다 git add . git rebase 푸쉬 : git push --force git 머지 리퀘스트 하고 나서는 새로운 브런치를 따서 작업. 새로운 브런치를 만들 때는 develop 을 기준으로 해서 만들어야함. git reset --HARD 내가 작업한게 있는 상황에서 merge develop를 하지 않았을 때 git pull --rebase 를 해서 작업한 내역을 올린다. 그리고 기존에 작업했던 commit 이 올라오고 최신으로 올라온 브런치..
2020.05.20 -
public Map salesTransferReportExcel(@RequestParam Map map) { log.warn("===>===>===>===>===>===> ServiceImpl ===>===>===>===>===>===>===>===>===>"); Map resultMap = new HashMap(map); log.warn("===> resultMap 크크크크크" + resultMap); MemberVO memberOutPutVo = ((MyAuthenticaion) SecurityContextHolder.getContext().getAuthentication()).getMemberVO(); ArrayList arrList = new ArrayList(); String gdSeq = (S..
프로젝트] 다시 한번 생각해보기.public Map salesTransferReportExcel(@RequestParam Map map) { log.warn("===>===>===>===>===>===> ServiceImpl ===>===>===>===>===>===>===>===>===>"); Map resultMap = new HashMap(map); log.warn("===> resultMap 크크크크크" + resultMap); MemberVO memberOutPutVo = ((MyAuthenticaion) SecurityContextHolder.getContext().getAuthentication()).getMemberVO(); ArrayList arrList = new ArrayList(); String gdSeq = (S..
2020.04.24