Bug 552278 - When to extends and override methods of WebMvcConfigurationSupport class in custom configuration class there is no longer Hibernate Transactional Session available for lazy initialization.
Summary: When to extends and override methods of WebMvcConfigurationSupport class in c...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 4.11   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 08:41 EDT by Akshay Neharkar CLA
Modified: 2019-10-21 09:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akshay Neharkar CLA 2019-10-21 08:41:16 EDT
When i extends 


-- Configuration Details --
Product: Eclipse IDE 4.11.0.20190314-1200 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.jdt 3.17.0.v20190307-0500
Versioning Plugin:
 org.eclipse.platform 4.11.0.v20190307-0500
Comment 1 Akshay Neharkar CLA 2019-10-21 09:18:38 EDT
When i extend WebMvcConfigurationSupport class for configure deviceResolverHandlerInterceptor then i get Exception :-Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session, when i fetched result from DB, because of i used jpa lazy initialization i.e fetch = FetchType.LAZY on some of entity fields.