Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
11 lines
583 B
Plaintext
11 lines
583 B
Plaintext
# Spring Boot 4.2.0
|
|
Spring Boot 4.2.0, Spring Data JPA 4.2.0, Hibernate 7.4.15.Final, Java 25
|
|
beans of type EntityManager: [entityManagerFactory, jpaSharedEM_entityManagerFactory]
|
|
getBean(EntityManager.class) is a Spring shared proxy -> true
|
|
create a bean with constructor parameter (EntityManager anyName) -> injected the shared proxy
|
|
-- a record annotated @Entity
|
|
buildSessionFactory() -> succeeded
|
|
persist and commit -> ok
|
|
find by id in a new session -> throws org.hibernate.InstantiationException
|
|
No default constructor for entity 'com.ankurm.jpamig.WiringTest$RecordEntity'
|