Probably, You are using TopLink and Native Id generation.Verify the data provided, especially the sequence name used in TopLink.