mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#777 - ENH: Add support for @NamedQuery and @NamedQueries
This commit is contained in:
@@ -5,17 +5,8 @@ import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.NamedQueries;
|
||||
import javax.persistence.NamedQuery;
|
||||
|
||||
@Entity
|
||||
@NamedQueries({
|
||||
@NamedQuery(name="loadResult",
|
||||
query="find CalculationResult " +
|
||||
"fetch productConfiguration "+
|
||||
"fetch groupConfiguration "+
|
||||
"where charge = :charge")
|
||||
})
|
||||
public class CalculationResult {
|
||||
|
||||
@Id
|
||||
|
||||
Reference in New Issue
Block a user