用于复杂表链接的Hibernate注释

时间:2012-07-10 05:42:24

标签: hibernate hibernate-annotations

我在几个文件之间有以下链接。这是我创建的模型

PatMaster (the main object)
  private PatWorkflows patWorkflows;
  private PatActions patActions;
  private PatNextWorkflowStep patNextWorkflowStep;
...

PatWorkflows (workflow chosen for a PatMaster record)
  String patWorkflowID 
...

PatActions (current action associated with a PatMaster record)
  String patActionID 
...

PatNextWorkflowStep (next actions possible based on the workflow chosen and the current action of a PatMaster record)
  String patWorkflowID
  String patActionID
...

我无法确定注释的外观。希望有人可以分享他们的专业知识。先感谢您!

0 个答案:

没有答案