[#1834] Restore "jpa.entities" and jpa.mapping-file properties

[#1834] Add example to test jpa.entities