• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sun Objectives - Persistence Units and Persistence Contexts

 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the Sun's objectives:

Under the "Persistence Units and Persistence Contexts" unit:

Sun microsystems wrote:
  • Identify correct and incorrect statements or examples about persistence units, how persistence units are packaged, and the use of the persistence.xml file.
  • Identify correct and incorrect statements or examples about the effect of persistence exceptions on transactions and persistence contexts.


  • Is their really anything we should need to understand under the above two topics? It seems these two topics are in very basic-level, and there are nothing to understand under that. Isn't it?
     
    Ralph Jaus
    Ranch Hand
    Posts: 342
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    It may be helpful to read JPA spec 6.1, 6.2.

    Questions like "the WEB-INF directory of a WAR file may be the root of a persistence unit ?" aren't that easy to answer otherwise (question is from myself).
     
    Niranjan Deshpande
    Ranch Hand
    Posts: 1277
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for pointing the JPA sections.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic