是否有任何特定配置可以将来自不同持久性单元的实体放入当前映射?
例如:
@RooJpaActiveRecord(persistenceUnit = "persistenceUnit_central")
public class UserGroups{
//users come from `persistenceUnit_client`
//how to work this out?
//can mappedBy and targetEntity works the same way
//as they are in the same persistence unit?
@OneToMany
private List<User> users;
}
提前致谢。