bad value for type long: - Postgresql, Hibernate, Spring

后端 未结 4 706
忘掉有多难
忘掉有多难 2021-02-07 00:29

I wanna store an entity(a String + an image) in PostgresQL using Spring MVC and Hibernate Here is my table. The image is supposed to be the type of oid.

CREATE T         


        
4条回答
  •  一整个雨季
    2021-02-07 00:46

    I faced smiler error and the reason was that I was having some characters other than integer in integer data type filed

    e.g.- ,111 and 144- etc

提交回复
热议问题