HHH-12699 Fix a typo

This commit is contained in:
Guillaume Smet 2018-06-26 12:59:38 +02:00
parent a19fc84320
commit 377b3d1fbe
1 changed files with 2 additions and 2 deletions

View File

@ -2227,7 +2227,7 @@ public abstract class Loader {
return session.getFactory()
.getServiceRegistry()
.getService( JdbcServices.class )
.getResultSetWrapper().wrap( rs, retreiveColumnNameToIndexCache( rs ) );
.getResultSetWrapper().wrap( rs, retrieveColumnNameToIndexCache( rs ) );
}
catch (SQLException e) {
LOG.unableToWrapResultSet( e );
@ -2239,7 +2239,7 @@ public abstract class Loader {
}
}
private ColumnNameCache retreiveColumnNameToIndexCache(final ResultSet rs) throws SQLException {
private ColumnNameCache retrieveColumnNameToIndexCache(final ResultSet rs) throws SQLException {
final ColumnNameCache cache = columnNameCache;
if ( cache == null ) {
//there is no need for a synchronized second check, as in worst case