Q: r2dbcRepository vs r2dbcEntityTemplate performance I have a Spring Reactive Project with Postgresql connection via spring.r2dbc
I am using an interface to persist data into the table.
import org.springframework.data.r2dbc.repository.R2dbcRepository;

@Repository
public interface StudentRepository
    extends R2dbcRepository<Student, Long> {
  
}

it is used in a Dao class like this:

Mono.deferContextual(
        ctx ->
            studentRepository
                .save(student));

Question:
I would want to understand if there is any performance improvement if I use
R2dbcEntityTemplate (org.springframework.data.r2dbc.core.R2dbcEntityTemplate) 
instead of the
R2dbcRepository (org.springframework.data.r2dbc.repository.R2dbcRepository).
So instead of save method above I am thinking of using traditional template like this:
{
return r2dbcEntityTemplate
        .getDatabaseClient()
        .sql(INSERT_QUERY)
        .bind("name", student.getName())
        .bind("roll_no", stuent.getRollNo())
        .map(STUDENT_MAPPING_FUNCTION)
        .one();
}

String INSERT_QUERY = "insert into student ......";


Function<Row, Student>
      STUDENT_MAPPING_FUNCTION =
          row ->
              Student.builder()
                  .name(row.get("name", String.class))
                  .rollNo(row.get("roll_no", String.class))
                  .build();


Can I expect any significant performance improvement from the above r2dbcEntityTemplate?
Any help is appreciated. Thanks in advance.
