Updated hibernate script to echo results.