In Hibernate 5 is it a problem if I use the same id value in different tables?
I have two entities with this annotation:
@Id
@Column(name = "ID")
public String getId()
{
return id;
}
If I call session.get(MyClass.class, "theId")
I can get the right entity?