Fixing a typo
Removing redundant application
Sample now works on WildFly, updating output messages accordingly
Making output messages more consistent
Removing redundant imports
Using the typical Employee class and other *.sql scripts to generate/load database tables. EntityManager is still not getting resolved correctly and needs further debugging.
Fixing the namespace and version
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