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.
when I created the table the column "name" happened to be the first. That's not good.
Id must be the first column. If I change the order of columns it works fine...