[jOOQ/jOOQ#10365] DSL.currentTimestamp() should generate GETDATE() instead of CURRENT_BIGDATETIME() in Sybase ASE 12.5
This commit is contained in:
parent
9ffd882d2f
commit
d50e8bd3f6
@ -37,6 +37,7 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
// ...
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.CUBRID;
|
||||
@ -53,6 +54,7 @@ import static org.jooq.impl.Keywords.K_CURRENT;
|
||||
import static org.jooq.impl.Keywords.K_TIMESTAMP;
|
||||
import static org.jooq.impl.Names.N_CURRENT_BIGDATETIME;
|
||||
import static org.jooq.impl.Names.N_CURRENT_TIMESTAMP;
|
||||
import static org.jooq.impl.Names.N_GETDATE;
|
||||
import static org.jooq.impl.Names.N_NOW;
|
||||
|
||||
import java.util.Set;
|
||||
@ -112,6 +114,10 @@ final class CurrentTimestamp<T> extends AbstractField<T> {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -117,6 +117,7 @@ final class Names {
|
||||
static final Name N_FUNCTION = unquotedName("function");
|
||||
static final Name N_GEN_ID = unquotedName("gen_id");
|
||||
static final Name N_GENERATE_SERIES = unquotedName("generate_series");
|
||||
static final Name N_GETDATE = unquotedName("getdate");
|
||||
static final Name N_GREATEST = unquotedName("greatest");
|
||||
static final Name N_GROUP_CONCAT = unquotedName("group_concat");
|
||||
static final Name N_HASHBYTES = unquotedName("hashbytes");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user