/**
* Rigourous Test :-)
*/
public void testApp() {
EntityManager entityManager = new EntityManagerImpl(sessionFactory,PersistenceContextType.TRANSACTION,PersistenceUnitTransactionType.RESOURCE_LOCAL,true,null,new HashMap<String, String>());
DomainBeans domainbeans = new DefaultDomainBeans(entityManager);
User user = new User(); //domainbeans.bind(new User());
user.setDb(domainbeans);
user.setUserName("arif");
user.setPassword("rachim");