• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A Query regarding persistence.xml file in JPA .

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i am new to JPA . so pleas help me .

what does the persistence unit indicate inside the persistence.xml file .(Or i use @persistenceContext(unit="") inside my Session Bean .

And also i have seen that the @PersistnceContext Annottaion accepts a Unit Name

Please tell me what is this unit Name


I guess it is the name of the Remote Interface Name .

Please giude me .



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic