mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
Fix org.postgresql.util.PSQLException: ERROR: operator does not exist: uuid = character varying (#623)
This commit is contained in:
committed by
GitHub
parent
8232282d13
commit
b1a5eb5f44
@@ -300,7 +300,7 @@ public class PostgresDatabase extends Database {
|
||||
SELECT COUNT(version_uuid)
|
||||
FROM %user_data_table%
|
||||
WHERE player_uuid=? AND pinned=false;"""))) {
|
||||
statement.setString(1, user.getUuid().toString());
|
||||
statement.setObject(1, user.getUuid());
|
||||
final ResultSet resultSet = statement.executeQuery();
|
||||
if (resultSet.next()) {
|
||||
return resultSet.getInt(1);
|
||||
|
||||
Reference in New Issue
Block a user