The URL for H2 is r2dbc:h2:mem://in-memory/%s?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE. That in-memory is harmless but exposes a HOST property whose value is in-memory that doesn't look right for an embedded ConnectionFactory.