Rodrigo, realizei a alteração e o problema ocorre
Entidade
@Entity
@Table(name="my_table")
@Data
public class Tabela {
@Id
@GeneratedValue( strategy=GenerationType.SEQUENCE)
private BigInteger id;
@Column(name="ds_teste")
private String dsTeste;
@Column(name="dt_criacao")
private LocalDate dtCriacao;
@Column(name="nm_usuario_criacao")
private String nmUsuarioCriacao;
Tabela no banco
o tipo Number no banco de dados deve ser alterado?
CREATE TABLE my_table (
id NUMBER(15) ,
ds_teste VARCHAR2(4000),
dt_criacao DATE,
nm_usuario_criacao VARCHAR2(30),
dt_alteracao DATE,
nm_usuario_alteracao VARCHAR2(30)
);
parte da mensagem:
2021-08-20 14:51:22.649 ERROR 29388 --- [ restartedMain] o.h.e.j.e.internal.JdbcEnvironmentImpl : Could not fetch the SequenceInformation from the database
java.sql.SQLException: Overflow Numérico
at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4162) ~[ojdbc8-21.1.0.0.jar:21.1.0.0.0]
at oracle.jdbc.driver.NumberCommonAccessor.getLong(NumberCommonAccessor.java:643) ~[ojdbc8-21.1.0.0.jar:21.1.0.0.0]
at oracle.jdbc.driver.GeneratedStatement.getLong(GeneratedStatement.java:178) ~[ojdbc8-21.1.0.0.jar:21.1.0.0.0]
at oracle.jdbc.driver.GeneratedScrollableResultSet.getLong(GeneratedScrollableResultSet.java:286) ~[ojdbc8-21.1.0.0.jar:21.1.0.0.0]
at oracle.jdbc.driver.GeneratedResultSet.getLong(GeneratedResultSet.java:626) ~[ojdbc8-21.1.0.0.jar:21.1.0.0.0]
at com.zaxxer.hikari.pool.HikariProxyResultSet.getLong(HikariProxyResultSet.java) ~[HikariCP-4.0.3.jar:na]
at
`