9.20.1 Precautions when using LAZY fetch in @OneToOne and @ManyToOne in Cosminexus 09-60 or a later environment
When developing an application in Cosminexus 09-60 or a later environment, create an entity class that meets the following conditions as the Java SE 6 source file. Also, specify settings so that Java SE 6 class files are generated when the application is compiled.
-
The entity class includes @OneToOne or @ManyToOne.
-
FetchType.LAZY is specified for the fetch attribute of @OneToOne or @ManyToOne.
- Note:
-
When compiling by using the javac command, you can generate Java SE 6 class files by using -target and -source.