Does Appian support @Version JPA Annotation?

Does Appian support @Version JPA Annotation . If yes, which locking strategies it follows Optimistic or Pessimistic.
I am trying to lock my table but it’s not working.
Attached XSD
...

Ver.xsd

OriginalPostID-115265

OriginalPostID-115265

  Discussion posts and replies are publicly visible

Parents
  • The @Version annotation is used for optimistic locking to detect and prevent collisions through a version-check upon commit; if the version number retrieved is different from the current one in the database the update fails with an OptimisticLockException, and you cannot write the values back because you now have dirty data; old data which has been already overridden by somebody else.

    1. How are you testing this doesn't work? (please explain expected behavior vs observed behavior)
    2. What RDBMs are you using (e.g. MySQL, SQL Server, etc.)
    3. If you run a describe of the Ver table, what's the type of the student_name column? (CHAR or VARCHAR)
Reply
  • The @Version annotation is used for optimistic locking to detect and prevent collisions through a version-check upon commit; if the version number retrieved is different from the current one in the database the update fails with an OptimisticLockException, and you cannot write the values back because you now have dirty data; old data which has been already overridden by somebody else.

    1. How are you testing this doesn't work? (please explain expected behavior vs observed behavior)
    2. What RDBMs are you using (e.g. MySQL, SQL Server, etc.)
    3. If you run a describe of the Ver table, what's the type of the student_name column? (CHAR or VARCHAR)
Children
No Data