For Postgres @Column(length=255) means varchar(255) by rbygrave · Pull Request #3619 · ebean-orm/ebean

@rbygrave

The `@Column` length defaults to 0 rather than 255, this allows us to detect when it has been explicitly set and thus for Postgres we can now have:

@column(length=255) mapping to -> varchar(255)
@column mapping to -> varchar

@rbygrave rbygrave deleted the feature/column-length-255 branch

April 9, 2025 08:23