Dumitru Preguza
01/22/2025, 4:14 PMlistOf(jobRepository.getJobById(12345)).toDataFrame()
The problem is found in one of the loaded libraries: check library renderers
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: data.entity.JobDefinition.jobRuns: could not initialize proxy - no Session
org.jetbrains.kotlinx.jupyter.exceptions.ReplLibraryException: The problem is found in one of the loaded libraries: check library renderers
at ...
Dumitru Preguza
01/22/2025, 4:32 PMtransactionTemplate.execute { status ->
val element = jobRepository.findById(12345)
Hibernate.initialize(element.jobDefinition.jobRuns)
listOf(element).toDataFrame()
};
roman.belov
01/23/2025, 1:12 AMDumitru Preguza
01/23/2025, 8:17 PMDumitru Preguza
02/01/2025, 10:29 PMjpa:
properties:
hibernate:
enable_lazy_load_no_trans: true
basically what you need for working in notebooks