mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1740 and #1744 Don't include the discriminator column on Inheritance query on a type that has no sub-types
Fix for #1740
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package org.tests.aggregateformula;
|
||||
|
||||
import javax.persistence.DiscriminatorColumn;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Inheritance;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Inheritance
|
||||
@Table(name = "iaf_segment")
|
||||
@DiscriminatorColumn(name = "ptype")
|
||||
public class IAFBaseSegment {
|
||||
|
||||
@Id
|
||||
private Long id;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user