Skip to content

Commit eb73f64

Browse files
committed
Mention that Oracle has jvm-dependent locale in date functions
1 parent 4068675 commit eb73f64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎content/en/docs/refguide/modeling/domain-model/oql/oql-expression-syntax.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,7 @@ When an OQL query is executed, `DATEFORMAT` is converted to the corresponding da
10961096

10971097
1. Casing (`SUN 3:12 PM` in PostgreSQL, `Sun 3:12 PM` in SQL Server and `Sun 3:12 pm` in HSQLDB)
10981098
2. Year formatting (`YY` is formatted as `2026` in MySQL, as `26` in HSQLDB and PostgreSQL, and is not supported at all in SQL Server and SAP HANA).
1099+
3. In Oracle, display language of month and day is tied to the locale of Runtime JVM. In other databases, it is tied to the database locale.
10991100

11001101
{{% alert color="warning" %}}
11011102
Always test usages of `DATEFORMAT` with the database engine on which your app runs. OQL queries with `DATEFORMAT` may return different results in HSQLDB and in the production database.

0 commit comments

Comments
 (0)