Working JPA - but with manual trasactions