class HibernateUserDAO extends HibernatePersistentObjectDAO<User> implements UserDAO {

	public List<User> findByLikeUsername(String username) {
		try {
			return findByWhere("_entity.username like ?1", new Object[] { username }, null, null);
		} catch (PersistenceException e) {
			log.error(e.getMessage(), e);
			return new ArrayList<User>();
		}
	}

	private  HibernateUserDAO();

}