Top "Spring-data" questions

Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.

Org.Hibernate.AnnotationException: No Identifier Specified For Entity I don't have a id in my table

I'm working with a table in a database and that table don't have a primary key or a proper column …

java hibernate spring-mvc jpa spring-data
Conversion of List to Page in Spring

I am trying to convert list to page in spring. I have converted it using new PageImpl(users, pageable, users.…

java spring list pagination spring-data
How to use @Transactional with Spring Data?

I just started working on a Spring-data, Hibernate, MySQL, JPA project. I switched to spring-data so that I wouldn't have …

java spring jpa spring-data spring-data-jpa
Pagination in Spring Data JPA (limit and offset)

I want the user to be able to specify the limit (the size of the amount returned) and offset (the …

spring jpa pagination spring-data paging
org.hibernate.AnnotationException: No identifier specified for entity - even when it was

I have the following configuration: <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="dataSource" …

spring hibernate spring-data spring-data-jpa
Delete Not Working with JpaRepository

I have a spring 4 app where I'm trying to delete an instance of an entity from my database. I have …

java hibernate jpa spring-data spring-data-jpa
Spring DAO vs Spring ORM vs Spring JDBC

I was going through data access technologies supported by Spring, and I noticed that it mentions multiple options and I …

spring spring-data spring-jdbc spring-orm
No property found for type... custom Spring Data repository

I'm trying to implement a custom Spring repository. I have the interface: public interface FilterRepositoryCustom { List<User> filterBy(…

spring spring-boot spring-data
org.springframework.data.mapping.PropertyReferenceException: No property catch found for type

I have a issue with Spring Data repositories. When I deploy, I get an exception and it's because Spring Data …

spring spring-data
What's the difference between Spring Data's MongoTemplate and MongoRepository?

I need to write an application with which I can do complex queries using spring-data and mongodb. I have been …

java spring mongodb spring-data spring-data-mongodb