• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inject persistence unit/context in phase listner

 
Brajendra Mathema
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi can we inject persistence context in phase listener...i want to make database query and show information in welcome page so if i can make query in before or after phase of restore view i would be able to show those information ...can this be done using persistence context/unit in phase listener if not why

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic