Panache MongoDB extension not working for multiple collections inside same transaction
### Describe the bug

When a method annotated with @Transactional doing multiple updates or persists using different repositories, only first is using client session others are direct commit.

### Expected behavior

Should commit all changes after leave transaction method, not in middle of method

### Actual behavior

Only work for first repository, others are not using same client session.

### How to Reproduce?

1- Create 2 repositories for different entities.
2- Create a Transactional method 
3- Persist both entities 
4 - Check result after first persist (not persisted)
5-  Check result after second persist been executed (persisted)

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

11

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

2.9

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_
diff --git a/extensions/panache/mongodb-panache-common/runtime/src/main/java/io/quarkus/mongodb/panache/common/runtime/MongoOperations.java b/extensions/panache/mongodb-panache-common/runtime/src/main/java/io/quarkus/mongodb/panache/common/runtime/MongoOperations.java
index ba8f60efe70..d6f446e8844 100644
--- a/extensions/panache/mongodb-panache-common/runtime/src/main/java/io/quarkus/mongodb/panache/common/runtime/MongoOperations.java
+++ b/extensions/panache/mongodb-panache-common/runtime/src/main/java/io/quarkus/mongodb/panache/common/runtime/MongoOperations.java
@@ -321,19 +321,20 @@ ClientSession getSession(Object entity) {
     }
 
     ClientSession getSession(Class<?> entityClass) {
+        ClientSession clientSession = null;
         MongoEntity mongoEntity = entityClass.getAnnotation(MongoEntity.class);
         InstanceHandle<TransactionSynchronizationRegistry> instance = Arc.container()
                 .instance(TransactionSynchronizationRegistry.class);
         if (instance.isAvailable()) {
             TransactionSynchronizationRegistry registry = instance.get();
             if (registry.getTransactionStatus() == Status.STATUS_ACTIVE) {
-                ClientSession clientSession = (ClientSession) registry.getResource(SESSION_KEY);
+                clientSession = (ClientSession) registry.getResource(SESSION_KEY);
                 if (clientSession == null) {
                     return registerClientSession(mongoEntity, registry);
                 }
             }
         }
-        return null;
+        return clientSession;
     }
 
     private ClientSession registerClientSession(MongoEntity mongoEntity,
['extensions/panache/mongodb-panache-common/runtime/src/main/java/io/quarkus/mongodb/panache/common/runtime/MongoOperations.java']