| Modifier and Type | Method and Description |
|---|---|
static String |
extendReturning(String sql,
String returning)
Extends a SQL statement with
RETURNING clause. |
static ZoneId |
parseZoneId(String zoneId)
Parses a normalized
ZoneId from a time zone string of MySQL. |
static String |
quoteIdentifier(String identifier)
Quotes identifier with backticks, it will escape backticks in the identifier.
|
public static String quoteIdentifier(String identifier)
identifier - the identifierpublic static String extendReturning(String sql, String returning)
RETURNING clause.sql - the original SQL statement.returning - quoted column identifiers.RETURNING clause.public static ZoneId parseZoneId(String zoneId)
ZoneId from a time zone string of MySQL.
Note: since java 14.0.2, 11.0.8, 8u261 and 7u271, America/Nuuk is already renamed from America/Godthab. See also tzdata2020a
zoneId - the time zone stringZoneIdIllegalArgumentException - if the time zone string is null or emptyDateTimeException - if the time zone string has an invalid formatZoneRulesException - if the time zone string cannot be foundCopyright © 2018–2024 asyncer.io. All rights reserved.