@Override
 public void createBluetoothDwell(BluetoothDwell entry) {
   try {
     em.persist(entry);
   } catch (javax.validation.ConstraintViolationException err) {
     logger.error(err.getConstraintViolations().toString());
   } catch (javax.ejb.EJBException err) {
     Throwable cause = err.getCause();
     if (cause instanceof ConstraintViolationException) {
       logger.error(((ConstraintViolationException) cause).getConstraintViolations().toString());
     }
   } catch (Exception err) {
     logger.error(null, err);
   }
 }
 @Override
 public void updateBluetoothFileSendSummary(BluetoothFileSendSummary entry) {
   try {
     em.merge(entry);
   } catch (javax.validation.ConstraintViolationException err) {
     logger.error(err.getConstraintViolations().toString());
   } catch (javax.ejb.EJBException err) {
     Throwable cause = err.getCause();
     if (cause instanceof ConstraintViolationException) {
       logger.error(((ConstraintViolationException) cause).getConstraintViolations().toString());
     } else {
       logger.error(null, err);
     }
   } catch (Exception err) {
     logger.error(null, err);
   }
 }