Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
posted 2 years ago
Hello to everybody.
I have this scenario:
One table called Items and other table called OperationsByItem.
PK of Items is id(
) and PK of OperationsByItem is item(String) which is FK to Items,kind(int) and position(int)
So, I have some operations for each Item and each can be of diffeent kind. And I can have more than one operation of the same kind.
I need to make a onetomany relation from items to operationsbyitem but only to get operations of a kind.
¿Can anyone help me, please?
Don't get me started about those stupid
Boost this thread!
OneToMany mappedBy composite (foreign) key gives empty collection - OpenJPA + EJB3
two parents, one child, ora-02291
HQL join for tables not related to each other