$link.fieldType and $jpa.linkAnnotations do not consider entityClassNameSuffix
Manuel Neto
Mon, 17 Jul 2023 14:27:15 GMT
Hi all,
when `$env.entityClassNameSuffix` is set (ex. Entity), `$jpa.linkAnnotations(2, $link)` and `$link.fieldType` do not consider this suffix by returning _@OneToMany(fetch = FetchType.LAZY, targetEntity=*Driver.class*)_ and _Set<*Driver*>_ respectively.
Manuel Neto
Mon, 17 Jul 2023 14:46:58 GMT
In addition, `$java.imports(EntityInContext entity)` does not bring the links packages either.