소개
게시글
질문&답변
2023.07.27
11분40초 부분 team, member쿼리가 나가지 않습니다
구글링해보니 id의 자료형이 Long이 아닌 String으로 되어있어서 발생하는 오류였습니다! 해결했습니다!
- 0
- 3
- 517
질문&답변
2023.07.27
11분40초 부분 team, member쿼리가 나가지 않습니다
javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: Unknown integral data type for ids : java.lang.String at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154) at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181) at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:762) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:742) at hellojpa.JpaMain.main(JpaMain.java:25)Caused by: org.hibernate.id.IdentifierGenerationException: Unknown integral data type for ids : java.lang.String at org.hibernate.id.IdentifierGeneratorHelper.getIntegralDataTypeHolder(IdentifierGeneratorHelper.java:224) at org.hibernate.id.enhanced.SequenceStructure$1.getNextValue(SequenceStructure.java:110) at org.hibernate.id.enhanced.NoopOptimizer.generate(NoopOptimizer.java:40) at org.hibernate.id.enhanced.SequenceStyleGenerator.generate(SequenceStyleGenerator.java:534) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:115) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:756) ... 2 more7월 27, 2023 2:18:09 오후 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PoolState stopINFO: HHH10001008: Cleaning up connection pool [jdbc:h2:tcp://localhost/~/test;MVCC=TRUE]추가해서 돌리니 이런 로그가 나왔습니다!
- 0
- 3
- 517
질문&답변
2023.03.03
localhost:8080/hello white label
저도 똑같은 현상이 있었는데 sdk 17버전을 correto-11버전으로 바꾸니깐 해결되었습니다!
- 0
- 4
- 1.1K
질문&답변
2023.03.03
localhost:8080/hello시 whitelabel error 발생
sdk를 17로 쓰고있었는데 correto-11로 변경하니깐 해결되었습니다!
- 0
- 2
- 633
질문&답변
2023.02.20
@Autowired 오류입니다
해결했습니다! 감사합니다!
- 2
- 4
- 5.2K