data « JPA « Spring Q&A





1. java.lang.IllegalArgumentException in Spring-data-Jpa    stackoverflow.com

I am getting an exception

<code>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditTrailRepository': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it ...

2. JDBCExceptionReporter - incompatible data types in combination    stackoverflow.com

I get the error "JDBCExceptionReporter - incompatible data types in combination" when running the following code:

    public Collection<SensorReading> getLastReadings(int[] sensorIds)
    throws DataAccessException {
   ...

3. Multiple Data Base Hibernate and Spring    forum.springsource.org

4. saving data via hibernate    forum.springsource.org

saving data via hibernate hello everybody we are using struts, spring and hibernate although there are some problems occuring, specially one when i try to save in a struts action - ...

5. spring.data.jpa issue    forum.springsource.org

Following the tutorial, I use following in pom.xml to try "spring-data-jpa-1.0.0.M1" Code: org.springframework.data spring-data-commons-core 1.0.0.M1 org.springframework.data spring-data-jpa 1.0.0.M1 The first thing I found is that it conflict ...

6. spring-data-jpa - overriding existing repository methods    forum.springsource.org

The documentation describes nicely what has to be done if I want to implement my custom repository method. Still I am in a need of overriding existing repository methods. Without using ...

7. spring-data-jpa custom repositories    forum.springsource.org

According to the spring-data-jpa documentation, one can create custom repostories using the factory-class attribute and passing it to the repositories tag. However, when I try to do so, the parser gives ...

8. Data JPA M2 compatibility    forum.springsource.org

I'm trying to use the M2 version of Spring Data JPA and I get a MalformedParameterizedTypeException. I've read in the forums this might come from a mismatch between Spring jars. I've ...

9. spring data jpa: find single    forum.springsource.org

hi, if i am expecting a single entity to be returned from a find command, e.g. findByMyUniqueIndex() is there direct support for that or would i create a finder that returned ...





10. Spring Data JPA - Milestone repository not working using nexus    forum.springsource.org

I cannot get the milestone repository to work within our network where we use nexus. I do not know much about nexus & have no access to nexus itself to make ...

11. spring-data-jpa 1.0.0.BUILD-SNAPSHOT, should queryldsl be optional package import?    forum.springsource.org

I was using the build snapshot to pickup OSGi manifest headers so I can use spring-data-jpa in virgo. However, I noticed that querydsl is not listed as optional. Should querydsl be ...

12. Spring Data JPA -- Java 6 required?    forum.springsource.org

I read a paragraph out of context from this blog [http://blog.springsource.com/2011/04...nd-querydsl/]: To cure that pain an open-source project called Querydsl has come up with a quite similar but also different approach. ...

14. customizing JpaRepositoryFactoryBean for Spring Data Jpa    forum.springsource.org

Hi, Has anybody tried successfully to customize the following: (Adding custom behaviour to all repositories) http://static.springsource.org/sprin...l-repositories I cannot seem to figure out what are the details since the documentation omitted some. ...

15. Spring Data JPA and Milestone Repository issues    forum.springsource.org

Spring Data JPA and Milestone Repository issues Hi, just tried to resolve Spring-Data JPA via Spring Milestone repository. Spring-Data JPA is downloaded perfectly by ivy, but i cant resolve the required ...

16. Spring Data JPA bug?    forum.springsource.org

Spring Data JPA bug? Hi, Has anyone encountered this? Running a query method that accepts a Pageable twice throws an exception. In org.springframework.data.jpa.repository.UserReposi toryFinderTests Code: @Test public void executesPagingMethodToListCorrectly() { List ...





17. QueryRepository for Spring Data JPA    forum.springsource.org

QueryRepository for Spring Data JPA Hi! I'm playing around with Spring Data JPA and find it really great. It saves lot's of boilerplate code When testing queries I came up with ...

18. Spring Data JPA Custom Repository    forum.springsource.org

Spring Data JPA Custom Repository I'm currently learning to use Spring Data JPA and ran into a problem while making repository extend a custom repository. The custom repository interface is not ...

19. Spring Data JPA Method_name_parser    forum.springsource.org

I allready read the reference: "Declared queries Although getting a query derived from the method name is quite convenient, one might face the situation in which either the method name parser ...

20. One-to-Many Data Retrieval issue when using Hibernate    forum.springsource.org

One-to-Many Data Retrieval issue when using Hibernate Hi, I have an issue while retrieving the data from the database using Hibernate. This is a very simple structure. A Person object having ...

21. Pageable data list with Hibernate    forum.springsource.org

Pageable data list with Hibernate Hi all, I'm trying to figure out the best way to implement a pageable data list with Spring and Hibernate. I've set up a basic app ...

22. Hibernate, Spring and multiple data soruces.    forum.springsource.org

Not directly - you have to create multiple session factories and then create some sort of multiplexor/switch on top them. There have been some discussions before in the forum - do ...

23. Uppercase my data using Hibernate and Spring?    forum.springsource.org

Sure, just modify your POJO setter to Upper the String given as a param for a property (you'll actually just use plain java not something particular to HB or Spring). Code: ...

24. Hibernate + Spring, large amount of data    forum.springsource.org

Hibernate + Spring, large amount of data I am new to Spring. I succesfully run the Petstore example. I found out, that table data can be paginated on jsp page like ...

25. Problem persisting data using Spring + Hibernate JPA    forum.springsource.org

Problem persisting data using Spring + Hibernate JPA Hello, I am getting the following exception when I try to insert a record into mysql. I am using Spring 2.03 with Hibernate ...

26. Retriveing Data using Hibernate and passing it to view    forum.springsource.org

Retriveing Data using Hibernate and passing it to view Hi, I am using hibernate to data persistence and retrieval. My requirement is to get a set of data from the data ...

27. Trouble while persisting the data using hibernate.    forum.springsource.org

Jun 8th, 2007, 11:50 AM #1 spring_ioc View Profile View Forum Posts Private Message Junior Member Join Date Jun 2007 Posts 3 Trouble while persisting the data using hibernate. Hi All, ...

28. Accessing the data bese using the Hibernate    forum.springsource.org

Nov 29th, 2007, 08:49 AM #1 addamurali View Profile View Forum Posts Private Message Junior Member Join Date Nov 2007 Posts 2 Accessing the data bese using the Hibernate Please help ...

29. Hibernate: data is not commited    forum.springsource.org

Hibernate: data is not commited Hello dear community. I am trying to use declarative transaction management with Spring and Hibernate. Here is my configuration: Code:

30. Problem with import huge amount of data using hibernate    forum.springsource.org

Problem with import huge amount of data using hibernate Hi, I've got a problem with import data from file to the database. I'm using standard csv file but this file has ...

31. accessing data from two schemas in hibernate and Spring    forum.springsource.org

accessing data from two schemas in hibernate and Spring Hi, I am new to hibernate and Spring. My application makes use of spring, struts and hibernate mapping. My requirement is to ...

32. Map job meta data classes for Hibernate use    forum.springsource.org

Map job meta data classes for Hibernate use I'm considering using Spring batch 2.0 in my project. The project is developed in a domain driven fashion with domain classes persisted using ...

33. Hibernate behaves strange while data manipulation    forum.springsource.org

Hibernate behaves strange while data manipulation Hi! i am running in a strange problem while developing code running in a web application (cocoon): I open a transaction like that (the transaction ...

34. Problems saving relational data with hibernate    forum.springsource.org

Problems saving relational data with hibernate Im not sure, where im wrong. I have this. mapping class Class A implements java.io.serializable{ private static final long serialVersionUID = 1L; private Long id; ...

35. Spring 3.0.5 + Hibernate 3.6 - The data not Recorded    forum.springsource.org

Hello, I'm trying to use support for JPA of spring with hibernate but I have a problem: The data is not stored in the database, the strange thing is that the ...