• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access database in phase listener using persistence unit

 
Brajendra Mathema
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i wanted to know that can i inject persistenceunit in phase listener of jsf.

i am able to inject it in managed bean using annotation as managed bean supports annotation

is it phase listeners does not support annotation

i want to access database in phase listener before restore view phase

can any own give me some idea.

thankyou

brajen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!