I have the function getSequenceName() in my model class and it returns the correct sequence name. I have defined my metadata manually in the model and set the identity column using MetaData::MODELS_IDENTITY_COLUMN But when I try to save my model I keep getting CANNOT INSERT NULL ORA error for the identity column. I checked and SupportSequences is returning true. Is there any other setting I am missing? Has anyone faced a similar error with oracle sequences?