[jOOQ/jOOQ#8029] Avoid casting timestamp precisions in Firebird
This commit is contained in:
parent
41e0adc7f8
commit
f22c4dae62
@ -39,6 +39,7 @@ package org.jooq.impl;
|
||||
|
||||
import static org.jooq.Nullability.NOT_NULL;
|
||||
import static org.jooq.SQLDialect.DERBY;
|
||||
import static org.jooq.SQLDialect.FIREBIRD;
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.impl.DSL.unquotedName;
|
||||
@ -93,14 +94,14 @@ import org.jooq.types.UNumber;
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@SuppressWarnings({ "rawtypes", "unchecked", "deprecation" })
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
abstract class AbstractDataType<T> extends AbstractNamed implements DataType<T> {
|
||||
|
||||
/**
|
||||
* Generated UID
|
||||
*/
|
||||
private static final long serialVersionUID = 4155588654449505119L;
|
||||
private static final Set<SQLDialect> NO_SUPPORT_TIMESTAMP_PRECISION = SQLDialect.supportedBy(DERBY);
|
||||
private static final Set<SQLDialect> NO_SUPPORT_TIMESTAMP_PRECISION = SQLDialect.supportedBy(DERBY, FIREBIRD);
|
||||
|
||||
AbstractDataType(Name name, Comment comment) {
|
||||
super(name, comment);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user