VARCHAR types are similar, but differ in the way they are stored and retrieved.
TIL about the null coalescing operator in C#, PHP, Bash and SQL. In general, the null coalescing operator returns the result of its first operand—if it exists and is not
string siteName = suppliedName ?? "Default Name"; /* is logically equivalent to*/ string siteName = suppliedName != null ? suppliedName : "Default Name";
TIL that Ebean helps you to keep track of the datetime an entity was last modified. I wanted to implement a column
last_modified_at, when a colleague showed me this commit. You simply can add a timestamp property to a model with the annotation
@WhenModified. Ebean will set the timestamp to the datetime when the entitiy was last modified.