Manta Ray's

  • 홈
  • 태그

기타/에러처리 2

MySQL : Foreign keys are not yet supported in conjunction with partitioning

테이블 파티셔닝을 처리하려고 할 때 FK가 있으면 발생하는 에러입니다. FK 제약조건을 삭제 후 파티셔닝을 수행하면 됩니다. [fk 제약조건 삭제] SHOW CREATE TABLE SALARIES; ALTER TABLE SALARIES DROP CONSTRAINT salaries_ibfk_1 ; 파티셔닝 수행 후 FK 제약조건 추가 ALTER TABLE SALARIES ADD CONSTRAINT salaries_ibfk_1 foreign key(emp_no) references employees (emp_no) on update cascade ;

기타/에러처리 2021.10.11

[JAVA] No enclosing instance of type Class is accessible.

에러 메시지 No enclosing instance of type Class is accessible. Must qualify the allocation with an enclosing instance of type Class (e.g. x.new A() where x is an instance of Class). 원인 static void main 메소드에서 최상위 클래스 선언 없이 내부 public 클래스 생성자를 호출했을 때 발생함. public class Sample { public static void main(String[] args) { A sampleA = new A(); } class A { int a; A(){ this.a = 0; } A(int a){ this.a = a; } publ..

기타/에러처리 2021.09.21
1
더보기
프로필사진

Dreaming about a manta ray can mean that you need to consider the current direction and path of your life.

  • 분류 전체보기 (111)
    • JAVA (52)
      • JAVA (18)
      • Spring (4)
      • DesignPattern (23)
      • Architecture (5)
      • JPA (2)
    • DB (13)
      • SQL (13)
    • 알고리즘 (43)
      • 알고리즘 (16)
      • 코딩테스트 (27)
    • 기타 (3)
      • 면접준비 (0)
      • 스크랩 (0)
      • 에러처리 (2)
      • 잡동사니 (1)

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Tag

행동 패턴, BFS, 그래프, 프로그래머스, 디자인 패턴, 디자인패턴, SQL, java, 객체지향, 코딩테스트, 배열, 자바, 행동패턴, 리트코드, 경로탐색, 정렬, design pattern, mysql, 알고리즘, 구조패턴,

Copyright © Kakao Corp. All rights reserved.

티스토리툴바