In version 13.22 if the entity definition is in a different package, the generated query bean cannot resolve the symbol erro

This commit is contained in:
Rob Bygrave
2023-10-09 21:10:56 +13:00
parent 716b7e7b93
commit 395edb62bf
4 changed files with 39 additions and 3 deletions
@@ -0,0 +1,18 @@
package org.example.domain;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.ManyToOne;
import org.example.domain.other.OtherBean;
@SuppressWarnings("unused")
@Entity
public class OtherMain {
@Id
long id;
@ManyToOne
OtherBean other;
}
@@ -0,0 +1,13 @@
package org.example.domain.other;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
@SuppressWarnings("unused")
@Entity
public class OtherBean {
@Id
long id;
String name;
}