[jOOQ/jOOQ#16651] TableRecords should refresh() themselves for HANA dialect, when any non-identity value should be fetched after an insert
This commit is contained in:
parent
5ce6055923
commit
ffd75fdc4d
@ -43,6 +43,7 @@ import static java.util.Arrays.asList;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.DERBY;
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.HSQLDB;
|
||||
import static org.jooq.SQLDialect.MARIADB;
|
||||
// ...
|
||||
@ -110,7 +111,13 @@ import org.jooq.tools.JooqLogger;
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class TableRecordImpl<R extends TableRecord<R>> extends AbstractQualifiedRecord<R> implements TableRecord<R> {
|
||||
public class TableRecordImpl<R extends TableRecord<R>>
|
||||
extends
|
||||
AbstractQualifiedRecord<R>
|
||||
implements
|
||||
TableRecord<R>
|
||||
{
|
||||
|
||||
private static final JooqLogger log = JooqLogger.getLogger(TableRecordImpl.class);
|
||||
private static final Set<SQLDialect> REFRESH_GENERATED_KEYS = SQLDialect.supportedBy(DERBY, H2, MARIADB, MYSQL);
|
||||
private static final Set<SQLDialect> REFRESH_GENERATED_KEYS_ON_UPDATE = SQLDialect.supportedBy(HSQLDB);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user