java - Is there any annotation available for eager loading at class level when we are not using any mapping? -
When no mapping is using, is there an annotation available for curious loading at the class level? I know that this is available in XML configuration where we have
(I know that in association mapping annotations there are attributes in the form of fetch = FetchType.EAGER to apply Entity objects one by one. , I am not here to use any mapping.) The need to load curious is based on the design pattern I used in my project, which is the template where I created more than one session and destroyed I have been
If classes are classed from any other class Not affiliated, and method you're using session.get (), it will load the class eagerly.
Comments
Post a Comment