Changed the entityManager implementation in GenericRepositoryImpl and datepicker issue solved for mac