Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converter problem

 
Marcin Dabrowski
Greenhorn
Posts: 5
Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Maybe I should post this on primefaces forum because I'm using it but I'll try to ask in here. Basically I use p:selectOneMenu tag with converter which just get selected String value and converts it to object. List of objects inside this converter is taken from database. I see that converter is created many times. Unfortunately in @PostConstruct method I have this DAO which returns list of objects from database. I want to decrease number of connection to database. I hope that this is clear enought.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic