Questions tagged [micronaut-mongodb]
5 questions
3
votes
1 answer
MongoDB automatic (implicit) CSFLE broken with Micronaut 3
I've recently updated my app from Micronaut 2 to Micronaut 3, and as a result all Mongo automatic CSFLE encryption/decryption has stopped working.
If I create a ClientEncryption object and manually decrypt the field, that works, and the logging…

user2521119
- 165
- 2
- 14
0
votes
0 answers
Error instantiating bean of type [io.micronaut.data.mongodb.operations.MongoDatabaseNameProvider]
Error instantiating bean of type [io.micronaut.data.mongodb.operations.MongoDatabaseNameProvider]
Message: Could not resolve placeholder ${auto.test.resources.mongodb.uri}
Path Taken:…

Rakesh
- 1
- 1
0
votes
1 answer
Get error org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class example.micronaut.entity.Fruit
Steps to reproduce
Download source from https://guides.micronaut.io/latest/micronaut-data-mongodb-asynchronous-maven-java.zip
Add a new test class under package example.micronaut.some.other named SomeOtherTest
Change Fruit class package to…

ajay vasudevan
- 69
- 8
0
votes
1 answer
Unable to implement Repository method: IGenericReactorRepository.save(Object entity) for generic repository
Try to create a generic repository with MongoDb and Microanaut Data.
@MongoRepository
public interface IGenericReactorRepository extends ReactorCrudRepository { }
The implementation of IGenericReactorRepository
@Singleton
public…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
1 answer
java.lang.ClassCastException class xxxxx cannot be cast to class io.micronaut.data.model.Page Micronaut data
Trying to implement the pagination with Micronaut data with MongoDB as below
@MongoRepository
public interface IDiscountRepository extends ReactorCrudRepository , ReactorJpaSpecificationExecutor {
@NonNull
…

San Jaisy
- 15,327
- 34
- 171
- 290