Transient
Ignoring fields in Documents but not in entities.
Last updated
Ignoring fields in Documents but not in entities.
Last updated
en2do allows you to ignore certain fields in entities. This is made possible by the @Transient
annotation.
Example of @Transient
usage:
// Lombok's annotations go here..
public class Customer {
@Id // en2do
UUID uniqueId;
// Other fields go here...
@Transient // en2do - Disable saving to database
String textNotSavedToDatabase;
}