@Test public void testConvertToEntityAttribute() { Crn dbCrn = underTest.convertToEntityAttribute(validCrn.toString()); assertEquals(validCrn, dbCrn); }
@Override public Crn convertToEntityAttribute(String dbData) { return Crn.safeFromString(dbData); }
CrnConverter implements AttributeConverter<Crn, String> { @Override public Crn convertToEntityAttribute(String dbData) { return Crn.safeFromString(dbData); } }
CrnConverter implements AttributeConverter<Crn, String> { @Override public Crn convertToEntityAttribute(String dbData) { return Crn.safeFromString(dbData); }  }
CrnConverter implements AttributeConverter<Crn, String> { @Override public Crn convertToEntityAttribute(String dbData) { return Crn.safeFromString(dbData); }  @Override String convertToDatabaseColumn(Crn attribute); @Override Crn convertToEntityAttribute(String dbData); }
CrnConverter implements AttributeConverter<Crn, String> { @Override public Crn convertToEntityAttribute(String dbData) { return Crn.safeFromString(dbData); }  @Override String convertToDatabaseColumn(Crn attribute); @Override Crn convertToEntityAttribute(String dbData);  }