python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Can someone help me with this
I actually need to use aggregation in mongoDb. I have already used the following query for joining two collection and then extracting the answer by some filters. The query is working fine in mongodb t...
Bug
Votes: 0
Answers: 1
How to use MongoRepository in test?
I want to use a MongoRepository in a @DataMongoTest. I can't add it in @ContextConfiguration since it's an interface.
I ended up doing the following:
@DataMongoTest
@ExtendWith(SpringExtension.class)
...
IsaacLevon
Votes: 0
Answers: 1
Spring Data Mongodb - Using @DocumentReference and @Filed at the same time
I want to use @DocumentReference together with basic @Field annotation as two properties pointing to the same the attribute (in mongoDB) in order to easily manipulate with it. To achieve this I wrote ...
Ján Starý
Votes: 0
Answers: 1
How do i extract information from Jwt which is stored in ReactiveSecurityContextHolder. It returns a Mono<String> but I need String
Below code return Mono from ReactiveSecurityContextHolder
@Component
public class SomeClass {
public static Mono<String> issuesID() {
return ReactiveSecurityContextHolder.getContext().sw...
Ketan
Votes: 0
Answers: 1