A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://issues.apache.org/jira/browse/OPENJPA-2863 below:

[OPENJPA-2863] java.time.LocalDateTime in Oracle gets rounded to just 3 digits

Log inSkip to main contentSkip to sidebar
  1. OpenJPA
  2. OPENJPA-2863
java.time.LocalDateTime in Oracle gets rounded to just 3 digits

Having a column like
 

    @NotNull
    @Column(name = "awayUntil", nullable = false)
    private LocalDateTime awayUntil;

which we set to

awayUntil = LocalDate.of(2021, 4, 8).atTime(LocalTime.MAX);

gets somehow rounded to 2021-4-9 00:00:00,000000 after persisting into the Oracle DB.

The type of the column in Oracle is Timestamp(6).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4