Fix typo in sequence selection.

See #2003
Original pull request: #2005
This commit is contained in:
Mark Paluch
2025-04-09 11:34:07 +02:00
parent eb25cc3ed4
commit e27a05880f
2 changed files with 3 additions and 3 deletions

View File

@@ -9,4 +9,4 @@ CREATE SEQUENCE simple_seq_seq START WITH 1;
CREATE TABLE PersistableSeq (ID BIGINT NOT NULL PRIMARY KEY, NAME VARCHAR(100));
CREATE SEQUENCE persistable_seq_seq START WITH 1;
CREATE TABLE PrimitiveIdSeq (ID BIGINT NOT NULL PRIMARY KEY, NAME VARCHAR(100));
CREATE SEQUENCE primitive_seq_seq START WITH 1;
CREATE SEQUENCE "primitive_seq_seq" START WITH 1;

View File

@@ -63,7 +63,7 @@ public interface IdGeneration {
/**
* Provides for a given id {@link SqlIdentifier} the String that is to be used for registering interest in the
* generated value of that column.
*
*
* @param id {@link SqlIdentifier} representing a column for which a generated value is to be obtained.
* @return a String representing that column in the way expected by the JDBC driver.
* @since 3.3
@@ -107,6 +107,6 @@ public interface IdGeneration {
}
static String createSequenceQuery(String nameString) {
return "SELECT NEXT VALUE FOR" + nameString;
return "SELECT NEXT VALUE FOR " + nameString;
}
}