title: Spring boot:connection oracle database
body: <p>i'am using spring boot with oracle V11.2.0.4.0 database to develop a microservice,
  But my pringBootApplication failed to run due to this following error:</p>
  
  <pre><code>2020-02-18 15:24:12.943  INFO 16476 --- [           main] com.zaxxer.hikari.HikariDataSource       : 
  HikariPool-1 - Starting...
  2020-02-18 15:24:13.041  INFO 16476 --- [           main] com.zaxxer.hikari.pool.PoolBase          : 
  HikariPool-1 - Driver does not support get/set network timeout for connections. 
  (oracle.jdbc.driver.T4CConnection.getNetworkTimeout()I)
  2020-02-18 15:24:13.045  INFO 16476 --- [           main] com.zaxxer.hikari.HikariDataSource       : 
  HikariPool-1 - Start completed.
  2020-02-18 15:24:13.058  INFO 16476 --- [           main] org.hibernate.dialect.Dialect            : 
  HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
  2020-02-18 15:24:13.205 **ERROR** 16476 --- [           main] o.h.e.j.e.internal.JdbcEnvironmentImpl   : 
  Could not fetch the SequenceInformation from the database
  2020-02-18 15:24:13.662  WARN 16476 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : 
  SQL Error: 17026, SQLState: 99999
  2020-02-18 15:24:13.662 ERROR 16476 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : 
  Numeric Overflow
  2020-02-18 15:24:13.668  WARN 16476 --- [           main] ConfigServletWebServerApplicationContext : 
  Exception encountered during context initialization - cancelling refresh attempt: 
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
  'entityManagerFactory' defined in class path resource 
  [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init 
  method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] 
  Unable to build Hibernate SessionFactory; nested exception is 
  org.hibernate.exception.GenericJDBCException: Unable to build DatabaseInformation
  2020-02-18 15:24:13.668  INFO 16476 --- [           main] com.zaxxer.hikari.HikariDataSource       : 
  
  Error starting ApplicationContext. To display the conditions report re-run your application with 
  'debug' enabled.
  2020-02-18 15:24:13.702 ERROR 16476 --- [           main] o.s.boot.SpringApplication               : 
  Application run failed
  
  java.sql.SQLException: Numeric Overflow
  at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4170) ~[ojdbc6- 
  11.2.0.4.0.jar:12.1.0.1.0]
  </code></pre>
  
  <p>Here is my pom.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema- 
  instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven- 
       4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.2.4.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  &lt;groupId&gt;ibbl.lu&lt;/groupId&gt;
  &lt;artifactId&gt;microservice_lims&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;microservice_lims&lt;/name&gt;
  &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
  &lt;properties&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-rest&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;!-- ojdbc6.jar example --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.oracle&lt;/groupId&gt;
          &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
          &lt;version&gt;11.2.0.4.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
          &lt;artifactId&gt;lombok&lt;/artifactId&gt;
          &lt;optional&gt;true&lt;/optional&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.junit.vintage&lt;/groupId&gt;
                  &lt;artifactId&gt;junit-vintage-engine&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>
  here is my application.properties</p>
  
  <pre><code>spring.jpa.hibernate.ddl-auto=update
  spring.datasource.url= jdbc:oracle:thin:@Oracle-dev.xxx.xx.xx:1521:LBVT
  spring.datasource.username=xxxx
  spring.datasource.password=xxx!
  spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
  spring.jpa.show-sql=true
  </code></pre>
  
  <p>Someone have an idea about this issue ?
  I already download the ojdbc6.jar and use maven command to install the driver
  any clue will be helpful</p>