mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 03:38:16 +00:00
Use Integer.MAX_VALUE instead for better readability
This commit is contained in:
parent
62a973dce0
commit
95403bc083
@ -261,7 +261,7 @@ public long getDefaultLobLength() {
|
||||
// this is essentially the only legal length for
|
||||
// a "lob" in SQL Server, i.e. the value of MAX
|
||||
// (caveat: for NVARCHAR it is half this value)
|
||||
return 2_147_483_647;
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -292,7 +292,7 @@ public long getDefaultLobLength() {
|
||||
// this is essentially the only legal length for
|
||||
// a "lob" in SQL Server, i.e. the value of MAX
|
||||
// (caveat: for NVARCHAR it is half this value)
|
||||
return 2_147_483_647;
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user