Thursday, September 20, 2007

[Tech] Introduction to JPA

Regarding to my previous post about JPA and DAO it is useful to look at the following article, illustrating a small example showing the basic usage of JPA. The example includes:
  • Annotate your object model with Java Persistence Annotations, including relationships and inheritance
  • How do work with lazy initialations
  • Named Queries
  • How to use the Entity Manager
The example should clarify the discussion about JPA and DAO. Have fun!

No comments: