My Oracle Support Banner

TimeStamp Sorting On "SQL History" Using SQL Developer 4.0 with Java 1.7 Does Not Work Properly (Doc ID 1623631.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle SQL Developer - Version 4.0 and later
Information in this document applies to any platform.

Symptoms

Using SQL Developer 4.0 with Java 1.7, the ordering by timestamp does not correct the order according to the sort criterion.


SQL History when invoked:
-------------------------
21-JAN-14 08.49 AM
17-JAN-14 11.33 AM
21-JAN-14 12.04 PM
21-JAN-14 08.49 AM
21-JAN-14 05.26 PM
2/4/14 10:56
16-JAN-14 05.29 PM
17-JAN-14 11.17 AM
22-JAN-14 01.37 PM
1/31/14 15:10
24-JAN-14 04.43 PM
1/31/14 15:39
22-JAN-14 11.53 AM

Sort by TimeStamp (ascending) results in:
-----------------------------------------
16-JAN-14 05.29 PM
17-JAN-14 11.17 AM
17-JAN-14 11.33 AM
21-JAN-14 08.49 AM
21-JAN-14 08.49 AM
21-JAN-14 12.04 PM
21-JAN-14 05.26 PM
2/4/14 10:56
22-JAN-14 01.37 PM
1/31/14 15:10
24-JAN-14 04.43 PM
1/31/14 15:39
22-JAN-14 11.53 AM

Sort by TimeStamp (ascending) results in:
-----------------------------------------
24-JAN-14 04.43 PM
22-JAN-14 01.37 PM
22-JAN-14 11.53 AM
21-JAN-14 05.26 PM
21-JAN-14 12.04 PM
21-JAN-14 08.49 AM
21-JAN-14 08.49 AM
17-JAN-14 11.33 AM
2/4/14 10:56
17-JAN-14 11.17 AM
16-JAN-14 05.29 PM
1/31/14 15:10
1/31/14 15:39

NLS Settings are as follows:
----------------------------
Language: American
Territory: America
Sort: Binary
Comparison: Binary
Date Language: American
Date Format: DD-MON-RR
Timestamp Format: DD-MON-RR HH.MI.SSXFF AM
Timestamp TZ Format: DD-MON-RR HH.MI.SSXFF AM TZR
Decimal Separator: .
Group Separator: ,
Currency: $
ISO Currency: America
Length: BYTE
Skip NLS Settings: Unchecked

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.