| I noticed we already have the JpaCompliance class. I wonder if we should make the new methods default:
public interface JpaCompliance {
default boolean shouldInitializeProxyWhenAccessingEntityId() {
return false;
}
....
}
This way, we are not going to break backward compatibility if the user already implemented this class and uses that instead of the standard one coming with Hibernate. |