public InsertStrategy getOverridenStrategy ( AbstractEntityProperty < ? > property ) { final InsertStrategy insertStrategy = OverridingOptional . from ( this . insertStrategy ) . defaultValue ( property . insertStrategy ( ) ) . get ( ) ; if ( LOGGER . isTraceEnabled ( ) ) { LOGGER . trace ( format ( "Get runtime insert strategy for entity %s : %s" , property . entityClass . getCanonicalName ( ) , insertStrategy . name ( ) ) ) ; } return insertStrategy ; }
Determine the insert strategy for the given entity using static configuration and runtime option