I'm having trouble writing the code for HibernateUtil class, especially in the addition of mapping files into the cfg object. is there anyway to automatically scan the package for entities?
but I need to do this without spring, because there's a possibility that the next vendor won;t be using spring. thanks
Maybe he went home and went to bed. And took this tiny ad with him: