Skip to main content
New Participant
Apr 7, 2024 9:38 PM UTC
Question

Process model error at Data Store even after correct configuration

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
Apr 7, 2024 9:52 PM UTC

Do you have autogenerate field enabled?

mathieud0001
Genius
Apr 7, 2024 11:07 PM UTC

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
Apr 9, 2024 4:55 PM UTC

thank you Mathieu

karumurua531442
Participating Frequently
Apr 8, 2024 4:09 AM UTC

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

New Participant
Apr 9, 2024 4:54 PM UTC

yes Abhishek

prakhars0731
Inspiring
Apr 8, 2024 5:45 AM UTC

check the configurations again

shubhama926776
Brainy
Apr 8, 2024 6:31 AM UTC

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
Apr 8, 2024 11:02 AM UTC

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