Skip to content

Commit

Permalink
Makes the data type of the User.temporary column implicit
Browse files Browse the repository at this point in the history
Fixes #352 - `BIT` column type breaks PostgreSQL support

Allow Hibernate to figure out the best column type for a boolean value on its configured database, instead of using a MySQL-only data type.
  • Loading branch information
aaronbrethorst committed Jul 12, 2024
1 parent d2a5e8b commit eab0a46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class User extends IdentityBean<Integer> {

private Date lastAccessTime;

@Column(columnDefinition = "BIT", length = 1)
@Column
private boolean temporary;

@Lob
Expand Down

0 comments on commit eab0a46

Please sign in to comment.