Discriminator query cache error

This commit is contained in:
Rien Nentjes
2017-05-04 14:16:38 +02:00
parent 67ef0cd5d9
commit 2a64a02211
2 changed files with 48 additions and 8 deletions
@@ -1,18 +1,13 @@
package org.tests.inheritance.model;
import io.ebean.annotation.Cache;
import io.ebean.annotation.ChangeLog;
import javax.persistence.Column;
import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.ManyToOne;
import javax.persistence.*;
@ChangeLog
@Entity
@Cache(enableQueryCache = true)
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "type", discriminatorType = DiscriminatorType.STRING)
public class Configuration extends AbstractBaseClass {