์ƒ์„ธ ์ปจํ…์ธ 

๋ณธ๋ฌธ ์ œ๋ชฉ

org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing

๋ณธ๋ฌธ

์ƒํ™ฉ

  "message": 
  "org.hibernate.TransientPropertyValueException: 
  object references an unsaved transient instance 
  - save the transient instance before flushing 
  : com.exciting.vvue.memory.model.PlaceMemory.place 
  -> com.exciting.vvue.place.model.Place; 
  nested exception is java.lang.IllegalStateException: 
  org.hibernate.TransientPropertyValueException: 
  object references an unsaved transient instance -
  save the transient instance before flushing 
  : com.exciting.vvue.memory.model.PlaceMemory.place 
  -> com.exciting.vvue.place.model.Place"

 

 

 


 

๋ฐœ์ƒ ์›์ธ

PlaceMemory๋ฅผ ์ €์žฅํ•˜๊ธฐ์— ์•ž์„œ Place ๊ฐ€ ์ €์žฅ๋˜์–ด ์žˆ์–ด์•ผ ํ•œ๋‹ค.

 

 

 


 

ํ•ด๊ฒฐ๋ฐฉ์•ˆ

 

 

Place๋ฅผ ๋ฏธ๋ฆฌ ์ €์žฅํ•˜๊ณ , PlaceMemory์˜ ์—ฐ๊ด€๊ด€๊ณ„๋กœ ์ฃผ์ž…ํ•ด์ค€๋‹ค.

 

 

 

 

 

 

728x90

๊ด€๋ จ๊ธ€ ๋”๋ณด๊ธฐ