I am using postgresql, and spring jdbc, and when I tried to execute a select query :
I don't know why the returned id is null, I'd like to add that the id is of type BIGSERIAL in postgresql, and I get it as Long in java.Code:private SimpleJdbcTemplate template; List<User> res = template.query("select * from user where id=?", MAPPER, id);
do you have an idea? is this problem related ot spring query?