Failed to persist in JPA

0

Good evening! Can anyone help me to understand this problem? I am testing an application and when the application tries to persist a front field with a larger number of characters than the one supported in the bank field the error is returned: ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-25) Data truncation: Data too long for column 'ds_login' at row 1 . So, okay, it's correct, but when I submit the correct values, the same error is returned, for the application to normalize, I have to upload it again, it's like the application crashes in error, can anyone explain why this happens? I'm using spring MVC with Angular, JPA and Wildfly. if anyone can help me I'm grateful!

    
asked by anonymous 18.02.2018 / 01:02

0 answers