Send the following on WhatsApp
Continue to ChatEJB 3.0 Persistence – using the @Version annotation for Optimistic Locking – in the GlassFish Reference Implementation https://technology.amis.nl/software-development/java/ejb-30-persistence-using-the-version-annotation-for-optimistic-locking-in-the-glassfish-reference-implementation/