mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-06 19:36:03 +00:00
HHH-12699 Fix a typo
This commit is contained in:
parent
a19fc84320
commit
377b3d1fbe
@ -2227,7 +2227,7 @@ private ResultSet wrapResultSetIfEnabled(final ResultSet rs, final SharedSession
|
||||
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 @@ private ResultSet wrapResultSetIfEnabled(final ResultSet rs, final SharedSession
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user