Wens’ blog

HibernateDaoSupport. getHibernateTemplate()

September 10th, 2007 by Wenslauw

I extended my little chat robot with a feature to greet new people joining the channel. Turns out the hibernate template is being reused, so set the maximum results to one once and you’re stuck with it forever. Fixing it didn’t take a long time, but it doesn’t feel good to have to restore the settings of the damned thing to the settings it had before this particular code. Maybe I should consider subclassing HibernateDaoSupport.

Posted in Programming

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

last.fm records

  1. Clandestino Clandestino
    Manu Chao
  2. Coney Island Baby Coney Island Baby
    Lou Reed

Categories

Archives

Blogroll

Recent Comments

Spam Blocked