@Override
public UpdatePreCheckStatus runPreCheck()
{
// Does the data-base tables already exist?
if (dao.doEntitiesExist(HibernateEntities.CORE_ENTITIES) == false
|| dao.doEntitiesExist(HibernateEntities.HISTORY_ENTITIES) == false) {
return UpdatePreCheckStatus.READY_FOR_UPDATE;
}
return UpdatePreCheckStatus.ALREADY_UPDATED;
}