CustomerDAO null check