mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-14464 Make two methods of AbstractEntityPersister protected
for the benefit of Hibernate Reeactive
This commit is contained in:
parent
db54fe44db
commit
578edbfd9f
@ -3897,7 +3897,7 @@ protected boolean isAllOrDirtyOptLocking() {
|
||||
|| entityMetamodel.getOptimisticLockStyle() == OptimisticLockStyle.ALL;
|
||||
}
|
||||
|
||||
private String[] generateSQLDeleteStrings(Object[] loadedState) {
|
||||
protected String[] generateSQLDeleteStrings(Object[] loadedState) {
|
||||
int span = getTableSpan();
|
||||
String[] deleteStrings = new String[span];
|
||||
for ( int j = span - 1; j >= 0; j-- ) {
|
||||
@ -5598,7 +5598,7 @@ private boolean[] determineValueNullness(Object[] naturalIdValues) {
|
||||
private Boolean naturalIdIsNonNullable;
|
||||
private String cachedPkByNonNullableNaturalIdQuery;
|
||||
|
||||
private String determinePkByNaturalIdQuery(boolean[] valueNullness) {
|
||||
protected String determinePkByNaturalIdQuery(boolean[] valueNullness) {
|
||||
if ( !hasNaturalIdentifier() ) {
|
||||
throw new HibernateException(
|
||||
"Attempt to build natural-id -> PK resolution query for entity that does not define natural id"
|
||||
|
Loading…
x
Reference in New Issue
Block a user