Fixed bug which used string literal "jpaPersistenceUnit" instead of the value of the variable of the same name when configuring the JPA engine.