University student course registration example demonstrating JPA