#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:
rob bygrave
2019-06-30 21:52:01 +12:00
parent eba521563a
commit 8ffc9ede85
9 changed files with 140 additions and 14 deletions
@@ -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;
}