mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2154 - QueryBeans: TargetEntity is not evaluated during bean generation resulting in bad query beans
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package org.example.domain;
|
||||
|
||||
import org.example.domain.target.ACountry;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
|
||||
@Entity
|
||||
public class CountryImpl implements ACountry {
|
||||
|
||||
@Id
|
||||
String code;
|
||||
|
||||
@Override
|
||||
public String code() {
|
||||
return code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user