fixed bug in JPA implementation: "save" methods were implemented using "merge" instead of "persist"