Time Format for Oracle #2086

Open
opened 2021-12-28 06:38:46 +00:00 by fandiabdillah · 0 comments

i found breaking changes from version 1.2.0 to 1.2.1 when insert data to oracle database, column date & timestamp.

version 1.2.0 : no problem when insert into date & timestamp column format in oracle
version 1.2.1 : problem insert into date & timestamp column format in oracle

need condition to check db type oracle in dialects/time.go:

if dialect.URI().DBType == schemas.ORACLE {
return t, nil
}

i found breaking changes from version 1.2.0 to 1.2.1 when insert data to oracle database, column date & timestamp. version 1.2.0 : no problem when insert into date & timestamp column format in oracle version 1.2.1 : problem insert into date & timestamp column format in oracle need condition to check db type oracle in dialects/time.go: if dialect.URI().DBType == schemas.ORACLE { return t, nil }
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#2086
No description provided.