David R. Heffelfinger

Saturday Feb 21, 2009

Common JPA Questions


  1. How can I have a composite primary key in JPA?

    There are several ways to do it, this page explains them.

  2. How can I prevent users from overwriting each other's changes to the database?

    Use the @Version annotation.

  3. Is there a way to do bulk updates and/or deletes with the Java Persistence Query Language (JPQL)?

    Yes.

Bookmark and Share
Post a Comment:
Comments are closed for this entry.
Comments:

Ensode Technology, LLC
Ensode
Technology, LLC

Calendar


Feeds

Search

Links

Navigation