I have 2 columns in a table that needs to be sequence generated, I have used @Id

I have 2 columns in a table that needs to be sequence generated, I have used @Id and @GeneratedValue and @SequenceGenerator annotations for the first column in the xsd file and its working fine, however for the second column we have @GeneratedValue and @SequenceGenerator annotations, but the value is not sequentialy generated, its putting null values in this coulumns, Any thoughts?...

OriginalPostID-104027

OriginalPostID-104027

  Discussion posts and replies are publicly visible