StackOverflow « Table « JPA Q&A





1. intermediate Table with EmbeddedId causes StackOverflow    stackoverflow.com

I have a problem with my hibernate mapping using EmbeddedId. My code looks like these: Inventory:

public class Inventory {

private Long id;

@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "inventory_id")
public Long getId() {
    return ...