I have reinstalled hibernate tools and now problem seems solved. By the way, I already was using CAPS in my schema definition Thanks guys!