0 Replies Latest reply on Nov 21, 2009 2:21 AM by CFMLGuru

    ORM issue with SQL Server Identity Column

    CFMLGuru Level 1

      I am receiving an error:

       

      ids for this class must be manually assigned before calling save(): TableName

       

      Root cause :org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save();

       

       

       

      The issue seems to be no matter what I enter or don't enter for the generator value.  Has anybody else experienced this issue?

       

      Becuase the primary key for the database is an identity field, I cannot enter the value manually.  How can the ORM cfc be setup to handle this scenario?

       

      Sincerest Regards,

       

      Braden Lake