#115 - Mapping - Add support for @ElementCollection enhancement

Initial support - simple List.
This commit is contained in:
Rob Bygrave
2018-03-20 14:22:29 +13:00
parent c44931ea25
commit 74a9019535
79 changed files with 1891 additions and 805 deletions
@@ -91,14 +91,11 @@ public class AnnotationFields extends AnnotationParser {
*/
private FetchType defaultLobFetchType = FetchType.LAZY;
AnnotationFields(GeneratedPropertyFactory generatedPropFactory, DeployBeanInfo<?> info,
boolean javaxValidationAnnotations, boolean jacksonAnnotationsPresent, boolean eagerFetchLobs) {
super(info, javaxValidationAnnotations);
this.jacksonAnnotationsPresent = jacksonAnnotationsPresent;
this.generatedPropFactory = generatedPropFactory;
if (eagerFetchLobs) {
AnnotationFields(DeployBeanInfo<?> info, ReadAnnotationConfig readConfig) {
super(info, readConfig);
this.jacksonAnnotationsPresent = readConfig.isJacksonAnnotations();
this.generatedPropFactory = readConfig.getGeneratedPropFactory();
if (readConfig.isEagerFetchLobs()) {
defaultLobFetchType = FetchType.EAGER;
}
}