출처 : https://www.baeldung.com/hibernate-lazy-loading-workaround spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true의 의미가 무얼까? 1. Overview While using lazy loading in Hibernate, we might face exceptions, saying there is no session. In this tutorial, we'll discuss how to solve these lazy loading issues. To do this, we'll use Spring Boot to explore an example. 2. Lazy Loading Issues The ..
사용자 정보 저장할 때 비밀번호와, 비밀번호확인이 있다... 비밀번호 확인은 Front단에서만 점검용으로 사용한다.. 하지만 화면에 으로 존재하므로 JSON.stringify($("#facilityForm").serializeObject())를 하다 보면 자연스레 DB에 없는 column들도 넘어가게 마련.. 이럴 때 Back(Server or Api)단에서 DB에 없는 필드를 무시하는 조치가 필요하다... 1. @Transient 추가 import javax.persistence.Transient; @Transient는 JPA관련 annotation이다. 그런데 두두.. 이것으로만으로 해결되지 않는 문제가 발생했다. Resolved [org.springframework.http.converter.Htt..
출처: https://kingbbode.tistory.com/27 [개발노트 - kingbbode] 스프링 Boot Application.properties Docs를 읽어보면, 알 수 있습니다. # JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration) ... spring.jpa.open-in-view=true # Register OpenEntityManagerInViewInterceptor. Binds a JPA EntityManager to the thread for the entire processing of the request. ... 스프링 Boot에서는 Open Session In View 패턴을 OpenEntityManagerInViewIn..
원인은 MessageConverterConfiguration를 적용(https://exhibitlove.tistory.com/3) 후 부터 다음 에러가 발생 중이다.... 이렇게 되면 XSS 적용을 javascript단에서 해야하나? Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: failed to lazily initialize a collection of role: com.mindone.okch.rnvtDrdg.domain.CnstLdg.cnstFtrs, could not initialize proxy - no Session; nested exception is com.f..
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException:..
- Total
- Today
- Yesterday
- @ExceptionHandler
- lombok
- 진열사랑
- Keycode
- 전후방탐색
- sumifs
- element위치
- $.extend
- object key
- oracle
- DatePicker
- getter
- draw.io
- spring
- 프로젝트명변경
- JQuery
- Javascript
- setter
- caniuse
- excel
- springboot
- PostgreSQL
- ul li로 테이블
- 정규식
- $.each
- 여러 컬럼 update
- CSS
- QueryDSL
- devtools
- border-collapse
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |