하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

[ERROR/mysql8] incompatible with sql_mode=only_full_group_by

mysql 8버전에서 group by 실행시 아래와 같이 에러메세지 출력 this is incompatible with sql_mode=only_full_group_by 찾아본봐로는 보안때문에 groupy 절외에 데이터를 참조할수 없다고 한다. 해결방법 mysql root 권한으로 아래 명령어 실행 SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

  • format_list_bulleted Programming/MySql
  • · 2019. 4. 19.
  • textsms

[CSS] focus blue outline 삭제 방법

button:focus { outline: 0; }위와같이 css에서 selector 한 후에 outline을 0으로 변경한다.

  • format_list_bulleted Programming/Css
  • · 2019. 4. 18.
  • textsms

[JPA] 원하는 내용만 가져오기

JPA로 조회를 하다보면 연관관계에 데이터를 모두 가져오다 보니 때때로 노출하고 싶지 않은 데이터도 가져오게 된다. 그럴때 쓰는 방법 소스는 이전글을 참조 2019/03/20 - [JPA] - [JPA] manytoone n+1 문제? 예를 들어 아래와 같은 member entity를 가지고 있다고 할때 @Entity @Getter @Setter public class Member { @Id @GeneratedValue private Long id; private String name; private String phone; private String address; @ManyToOne @JoinColumn(name="team_id") private Team team; } api에는 id와 name만 내..

  • format_list_bulleted Programming/JPA
  • · 2019. 3. 26.
  • textsms

[JPA] manytoone n+1 문제?

JPA에서 @manytoone으로 다른 entity와 join했을 경우 list를 출력하면, 리스트를 한번 조회하고, join column의 id 수만큼 다시 select를 하게된다. Member.java@Entity @Getter @Setter public class Member { @Id @GeneratedValue private Long id; private String name; @ManyToOne @JoinColumn(name="team_id") private Team team; }MemberRepo.javapublic interface MemberRepo extends JpaRepository {}Team.java@Entity @Getter @Setter public class Team { @..

  • format_list_bulleted Programming/JPA
  • · 2019. 3. 20.
  • textsms

[Git] merge 실수로 데이터 날라갔을때.. / git reflog

merge 혹은 rebase 중 실수로 내가 작업한 파일을 덮어썼을때.. (멘붕..) git reflog --date=iso 로 commit log를 확인하고 롤백한 commit log로 체크아웃 해준 후에 다시 돌려 놓는다.

  • format_list_bulleted Programming/Git
  • · 2019. 3. 14.
  • textsms

[springboot] @autowired 안에서 @value로 호출한 값 못 읽을때

Service를 하나 만들었고, Service 생성자 안에서 값을 초기화 해주는 로직을 만들고 있었다. 각각 환경마다 다르게 셋팅해야하는 값이라 application.properties에 값을 넣어주고 불러와서 사용하고 있어다 .예제를 보자면 이런식 @Value("{test.title}") String title; private OtherService otherService; public WebService(OtherService otherService) { this.otherService = otherService; if (title.equals("dev")) { System.out.println("dev setting"); } else { System.out.println("other setting"..

  • format_list_bulleted Programming/Springboot
  • · 2019. 3. 13.
  • textsms
  • navigate_before
  • 1
  • ···
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • ···
  • 32
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #error
  • #javascript
  • #JPA
  • #GIT
  • #MySQL
  • #css
  • #springboot
  • #sts
  • #Vue
  • #AngularJS
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바