Boolean
Boolean is mapped to the appropriate database type depending on the platform.
primitive boolean
Note that primitive boolean is deemed non-nullable and DDL generation reflects that.
@Entity
public class Customer {
// treated as non-nullable
boolean active;
}
Custom database true/false values
If necessary we can configure the database true/false values using DatabaseConfig
but this is expected to be very rare.
databaseConfig.setDatabaseBooleanTrue("T");
databaseConfig.setDatabaseBooleanFalse("F");