Numeric Overflow Exception when retrieving the Meta-data for sequences from Oracle Database

Description

The following exception is thrown when application is loading

The problem:
When Hibernates loads the metadata from the Database it executes the following query :

The min value in oracle database for a sequence index is -999999999999999999999999999 and the maximum is 9999999999999999999999999999. If these values are defined the exception is thrown.

Environment

I'm using Spring boot in my application. When i tried to upgrade from spring-boot v2.1.9 to v2.2.0 I received the following exception :Numeric Overflow.
I'm using Oracle 12 Database. After deeper investigation i notice that with version 5.3.12 of Hibernate there is no exception

Status

Assignee

Unassigned

Reporter

Mihail Mihov

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Feedback Requested

2019/12/06

Worked in

5.3.12

Feedback Requested By

Gail Badner

Affects versions

Priority

Blocker
Configure