Robert,
I think I found a bug.
I have the following model:
public class A {
}
public class B extends A {
public class C {
@Column(nullable = true) @ManyToOne(optional = true) private B parent;}
If an instance of class C get persisted with no parent (parent is null) then the next time the DB tries to startup it throws a "Type for discriminator value [] was not found" error. Since the parent is null, so is its discriminator value. There is no class to discriminate.
Thanks
When creating the reference to a inheritance hierarchy.
Fixed in HEAD.