using jpa transformation