Creating JPA based conflict stuff