If you've got a design of components like this (discrim value in parens):
-Animal (Expecting only 'M's and 'R's stored in this table)
-Mammal (M) (Expecting only 'D's and 'C's stored in this table)
-Dog (D)
-Cat (C)
-Reptile (R) (Expecting only 'G's and 'L's stored in this table)
-Gator (G)
-Lizard (L)
-Frog (F)
What I'm actually seeing in the Hibernate SQL logs when I do this:
var frog = EntityNew('Frog');
frog.setCroak('loud');
EntitySave(frog);
I get a 'F' in the discriminator column in the Animal table (was expecting a 'R' there) and it doesn't make an attempt to send a discriminator value at all to the Reptile table, which I have set to NOT NULL, so the insert fails into the Reptile table.
Fridays aren't supposed to be this hard!!
Thanks :)
Wes