- How can I have a composite primary key in JPA?
There are several ways to do it, this page explains them.
- How can I prevent users from overwriting each other's changes to the database?
Use the @Version annotation.
- Is there a way to do bulk updates and/or deletes with the Java Persistence Query Language (JPQL)?
Yes.
Posted by David R. Heffelfinger
@ 01:30 PM EST