to quote the table name you have to use @Table annotation
@Entity @Table(name= "\"user\"") public class User { ... }