Removing load.sql as data needs to be persisted using EntityManager.persist instead of INSERT INTO. This allows the version column to be updated for optimistic locking to work. EclipseLink was lenient about it but Hibernate caught it.
Fixed persistence.xml by adding <properties>
Adding more descriptive output statement
Adding more descriptive output statement
Renaming schema-gen to schema-gen-metadata to be more meaningful
Changing the location to match local machine
Adding more descriptive output statement
Using a portable behavior to lookup bean using well-defined property name instead of non-portable "mappedName" - this sample now work on both WildFly and GlassFish
Removing redundant parentheses
Adding better debug statements
Adding debug statements
Adding better debug statements
Adding basic instructions for WildFly
Disabling tight security, otherwise index.jsp is not accessible for WildFly
Enabled the test
Fixing the package name to match the project name
Adding more descriptive output statement
Removing @WebListener
Removing try/resources so that the stream is not closed and error handling is reported correctly
Fixing the WildFly command such that the user is created in ApplicationRealm