Fix #152 : key is a reserved word in SQL, fixed by using : @Column(name='registration_key')