I have a simple many-to-one relationship (customer to customerlogs). Obviously customerid is the link column.
My question is how do I manually set the customerid on the customerlogs table or is there an annotation that can handle this? I thought for sure that when I did this with Hibernate (doing it with Seam and annotations now) that the ids (pk and fk) where assigned automatically.
Can you post your classes? It sounds like a problem with the primary key on one of your classes.