spring-data
Adding sort to mongo JSON @Query with Spring Data Repository
I want to sort the results of a find using the mongo JSON query and having done some reading and experimenting, I still can\'t get it to work. I have got the PagingAndSortingRepository and can use Sor[详细]
2023-04-13 05:50 分类:问答mongo query for selecting count of all unique ids in a collection
In mongodb, I have a comments database with a collection of comments. Each comment has a \"videoId\" field that represents which video the comment belongs to.[详细]
2023-04-11 17:45 分类:问答Problem with implementing Sort in Spring Data (Mongodb)
I need to do the following sql query using spring data api: Select * from TagTest where tagName = \"water temperature\" Order by timestamp desc;[详细]
2023-04-04 22:09 分类:问答Placing repository impl in not base-package
I wan\'t separate my custom repository implementation from domain package. And, probablym some common interfaces. For example I want have structure like[详细]
2023-04-02 03:23 分类:问答resolving mongodb references in spring
Let\'s assume that I have the following documents in mongodb in the employees collection: db.employees.insert({_id: ObjectId(\"4d85c7039ab0fd70a117d733\"), name: \'Siona\',[详细]
2023-03-31 10:10 分类:问答Spring data Neo4j @NodeEntiry and Roo @RooEntity conflict
When i try to annotate a POJO with both @NodeEntity and @RooEntity i got following error on the *_Roo_Entity IDT:[详细]
2023-03-28 01:50 分类:问答How to map generic collections with Spring Data(MongoDB)?
I have some problems with mapping my inner collection. Items can have different content types. Here is my Item class:[详细]
2023-03-27 04:21 分类:问答java.lang.IllegalArgumentException in Spring-data-Jpa
I am getting an exception <code> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'auditTrailRepository\': FactoryBean threw exception on objec[详细]
2023-03-25 20:36 分类:问答Auditing with Spring Data JPA
I am using Spring Data JPA in an application in which all entity objects need auditing.I know that I can have each either implement Auditable or extend AbstractAu开发者_开发技巧ditable, but my problem[详细]
2023-03-23 15:35 分类:问答Spring data MongoDb: MappingMongoConverter remove _class
The default MappingMongoConverter adds a custom type key (\"_class\") to each object in the database. So, if I create a Person:[详细]
2023-03-22 10:10 分类:问答