I'm using springboot, spring jpa repository and hibernate.
I'm trying to make a save over an object and I get an error: SQL Error: 8152, SQLState: 22001
In application.properties I have:
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.format_sql=true
but the info in console is:
insert into Table(field1, field2, field3)
values
(?, ?, ?)
In my case I have about 25 fields and I dont know how to debug this to see which field is causing the problem. For instance the query with the data to test in my sql server.
Is there a way to get more info about it??
Thanks