Problem auto increment primary key with postgres

Using hibernate 5.4, postgres 10 with IntelIiJ Ultimate, I did’nt succeed to get auto-incremented primary key

with this following code, the sequence “warehouses_id_seq” is created but the primary key is not incremented

java code :

@Table(name = “warehouses”)
@SequenceGenerator(name = “SEQUENCE_WAREHOUSE”, sequenceName = “warehouses_id_seq”, allocationSize = 1)
public class Warehouse implements Serializable {
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = “SEQUENCE_WAREHOUSE”)
@Column(name = “id”)
private Integer id;