private boolean alter() throws UnsupportedEncodingException
	{
		if(storeName == null || storeName.isEmpty())
			return false ;
		if(storeAddr == null || storeAddr.isEmpty())
			return false ;
		
		String tempName = new String(storeName.getBytes("ISO-8859-1"),"UTF-8") ;
		Session se = HibernateSessionFactory.getSession() ;
		Store tempS = (Store)se.load(Store.class, alterStoreId) ;
		if(!tempS.getName().equals(tempName))
		{
			Criteria category_cri = se.createCriteria(Store.class) ;
			category_cri.add(Restrictions.eq("name", tempName)) ;
			if(!category_cri.list().isEmpty())
			{
				se.close() ;
				return false ;
			}
		}
			
		
		Transaction tran = se.beginTransaction() ;
		tran.begin() ;
		Store currStore = (Store)se.load(Store.class, alterStoreId) ;
		
		currStore.setName(tempName) ;
		String tempAddr = new String(storeAddr.getBytes("ISO-8859-1"),"UTF-8") ;
		currStore.setAddress(tempAddr) ;
	
		se.update(currStore) ;
		tran.commit() ;
		se.close() ;
		return true ;
	}