mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user