Skip to main content
New Participant
April 7, 2024
Question

Process model error at Data Store even after correct configuration

  • April 7, 2024
  • 8 replies
  • 8 views

Details: javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): PFYoutubeDT11569: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save()


Why is this error occuring?

8 replies

davidj137213
Brainy
April 7, 2024

Do you have autogenerate field enabled?

mathieud0001
Brainy
April 7, 2024

A quick google search for "Appian org.hibernate.id.IdentifierGenerationException" returned a bunch of results. Here is one of the threads where [mention:b45a4f6a20b14a008e4e0ec732a8bf98:e9ed411860ed4f2ba0265705b8793d05] answered your question.

 https://community.appian.com/discussions/f/process/25903/process-model-error  

New Participant
April 9, 2024

thank you Mathieu

karumurua531442
Participating Frequently
April 8, 2024

hi[mention:c9aac43018464b1c952e96bb390ea8ed:e9ed411860ed4f2ba0265705b8793d05] is your primary key column is configured as auto increment?

New Participant
April 9, 2024

yes Abhishek

prakhars0731
Inspiring
April 8, 2024

check the configurations again

shubhama926776
Brainy
April 8, 2024

The error arises due to a mismatch between how you're trying to generate IDs for the PFYoutubeDT11569 class and Hibernate's expectations. Possible causes include missing or incorrect ID generation strategy, manual ID assignment requirement, or database configuration issues.

Verify once and let me know if you still have same issue.

शुभम्
Participating Frequently
April 8, 2024

Pls Take Care of Your Primary Key. also Verify From DB Side if Auto Increment is done properly or not .