I will be very greatefull if someone could explain to me what´s the function of this class SessionFactoryObjectFactory and its role. Its has been giveing my problems for the last two days.Am new to Hibernate and Jboss as whole