I\'ve got some problem with hibernate @OneToMany mapping. It goes like here
@OneToMany
@Entity @Table(name = \"albums\") @SequenceGenerator(name = \"ALBUMS
You are using two primary keys in one table and one of the keys is also a primary key in another table. The simple solution is to remove the one of the primary keys which is also the foreign key