You've got 100+ lines of code, and no clear question anywhere. I'm not surprised you haven't gotten a response.
Your job, when you post a question, is to make it as EASY as possible for folks to help you. the easier you make it, the more likely you are to get that help.
Is there any way you can reduce the amount of code someone would need to look at?
The statement "I suspect that my bean is wrong, or I am not able to connect me with PostgreSQL" seems rather broad as well. If you suspect that your bean is wrong, in what way do you think this is so? What evidence do you have to make such a statement - or is that simply a WAG?
"I am not able to connect me with PostgreSQL" - does that mean you think the technology is incapable, or does it mean you think your specific implementation doesn't work? And again, what evidence do you have to make such statements?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads