@Entity
@Cache(usage = org.hibernate.annotations.CacheConcurrencyStrategy.READ_WRITE, region = "someConfigurationCache")
public class SomeConfiguration implements Serializable {
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
@JoinColumn(name = "some_configuration_id", referencedColumnName = "id")
@Cache(usage = org.hibernate.annotations.CacheConcurrencyStrategy.READ_WRITE, region = "otherConfigurationCache")
private List<OtherConfiguration> confList;
}