반응형

http.csrf().disable();
logging:
    level:
        root: INFO
        com.lge.cdp: DEBUG
        #org.hibernate:
          #SQL: DEBUG
          #type.descriptor.sql.BasicBinder: TRACE

-pageSize -> size
-pageNumber -> page
-POST시 []로 수정
-CUD 응답형식 다른거 참고
* AWS 키신청한것 접속해보기
* column 순서조정할 방법 생각해보자
* boolean은 bit(1)로 변환됨, 그런데 이게 default 0인지 아니면 실제 0인지 알수가 없음
* useFlag,captionFlag 등 boolean 기본값 0들어가고 있음
* varchar 길이조정 - 기존에는 varchar(1)? char(1) char(1)
* java long,int에는 null이 못들어감 
* @Column(updatable = false): mysql update가능함 무슨의미가 있음?
* mySQL char, varchar, bit, int에는 null가능? 가능함 
* mySQL char에 ''가능? 가능함 
* mySQL char에 더 적은 스트링도 들어감, 다만 공간을 그만큼 쓰는듯 
* mySQL bit, int에 ''가능? 가능함 근데 1 warning(s): 1366 Incorrect integer value ''이 0으로 들어감  

JPA Foreign key is update with null after
https://stackoverflow.com/questions/43806173/spring-data-rest-foreign-key-is-update-with-null-after-post-call-in-one-to-man
https://stackoverflow.com/questions/22591684/hibernate-many-to-one-updating-foreign-key-to-null

https://stackoverflow.com/questions/40353605/hibernate-cant-delete-entity-with-foreign-key-foreign-key-gets-set-to-null

https://minwan1.github.io/2018/12/21/2018-12-26-jpa-%EA%B4%80%EA%B3%84%EC%84%A4%EC%A0%95/

https://developer.mozilla.org/ko/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript#Object-oriented_programming

https://okky.kr/article/335497 JPA-Hibernate 에서 복잡한 쿼리를 조회 할 경우 어떤식으로 하시는지...
http://blog.eomdev.com/java/2016/01/13/jpa_05_relationshipMappingBasic.html
https://docs.oracle.com/javase/tutorial/datetime/iso/overview.html

https://www.mkyong.com/java/how-to-loop-arraylist-in-java/

hibernate ddl 설정
https://github.com/HomoEfficio/dev-tips/blob/master/hibernate.hbm2ddl.auto%20%EC%9C%84%ED%97%98%20%ED%97%B7%EC%A7%80.md
http://egloos.zum.com/gyumee/v/2483659

반응형

+ Recent posts