@Test public void testConvertToEntityAttribute() throws Exception { DateConverter sut=new DateConverter(); assertThat(sut.convertToEntityAttribute(null),nullValue()); }
@Override public Date convertToEntityAttribute(String dbData) { if(dbData==null) { return null; } return new Date(Long.parseLong(dbData)); }
DateConverter implements AttributeConverter<Date,String> { @Override public Date convertToEntityAttribute(String dbData) { if(dbData==null) { return null; } return new Date(Long.parseLong(dbData)); } }
DateConverter implements AttributeConverter<Date,String> { @Override public Date convertToEntityAttribute(String dbData) { if(dbData==null) { return null; } return new Date(Long.parseLong(dbData)); }  }
DateConverter implements AttributeConverter<Date,String> { @Override public Date convertToEntityAttribute(String dbData) { if(dbData==null) { return null; } return new Date(Long.parseLong(dbData)); }  @Override String convertToDatabaseColumn(Date attribute); @Override Date convertToEntityAttribute(String dbData); }
DateConverter implements AttributeConverter<Date,String> { @Override public Date convertToEntityAttribute(String dbData) { if(dbData==null) { return null; } return new Date(Long.parseLong(dbData)); }  @Override String convertToDatabaseColumn(Date attribute); @Override Date convertToEntityAttribute(String dbData);  }