All Questions
4 questions
0
votes
0
answers
34
views
JPA Composite Primary and Foreign keys that only share 1 field
I have the following DB model (all fields are not nullable):
File SourceTypes
----------- -----------
country PK country PK
filename PK sourcetype PK
sourcetype sourcename
...
0
votes
0
answers
363
views
Spring Join Single Column of a Composite Key
The Console Error: A Foreign key refering com.api.subscriber.pojo.MapperSubscriberTracker from com.api.tracker.pojo.Tracker has the wrong number of column. should be 2
public class ...
0
votes
1
answer
66
views
composite pattern, I am not able to retrieve all entities from the backend
I am trying to implement and use the composite pattern in my system.
The problem is that I cant retrieve all the hierarchy of entities from the backend.
I am not sure what is the problem, the fetch ...
4
votes
1
answer
12k
views
Hibernate criteria problem with composite key
I got this hibernate mapping:
<class name="CoverageTerm" table="coverage_term">
<composite-id name="id" class="CoverageTermPK">
<key-many-to-one name="productTerm" class="...