I am using Postgres as database and JPA 2.0 as provider. I had been using @GeneratedValue(strategy = GenerationType.IDENTITY) which generates its own sequence for that column and also executes this query ...
@GeneratedValue(strategy = GenerationType.IDENTITY)