getJpaTemplate « JPA « Spring Q&A





1. getJpaTemplate, deleteAll and saveOrUpdateAll    forum.springsource.org

Hello, I used to take advantage of saveOrUpdateAll and deleteAll provided in HibernateTemplate, unfortunately I can't find such methods on jpaTemplate (I use spring-framework-1.3-rc1-build.381-20051129. Is there a chance to see this ...

2. getJpaTemplate().remove() -- how does this work?    forum.springsource.org

getJpaTemplate().remove() -- how does this work? I am trying to learn about Spring and the JPA. I am looking at the Mark Fisher blog code located at http://blog.springframework.com/mark...-in-spring-20/ and had the ...

3. getJpaTemplate create or remove error    forum.springsource.org

getJpaTemplate create or remove error Hi, I'm extending JpaDaoSupport in my dao. I'm able to query and update to the database. But when I try to add a new record or ...

4. getJpaTemplate().findQueryByName()    forum.springsource.org

getJpaTemplate().findQueryByName() Hi all, Im using the above method to get a named query. Named query....... @NamedQuery(name = "Task.findByStatus", query = "SELECT t FROM Task t WHERE t.status = :status") Function call......... ...

5. JPA: getJpaTemplate() returns null    forum.springsource.org

JPA: getJpaTemplate() returns null Help ... In a web Application 'im getting getJpaTemplate() as null. file: WEB-INF/properties/database.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3333/dolomiti username=root password=admin file: WEB-INF/applicationContext.xml

6. getJpaTemplate().persist() issues no INSERT statement    forum.springsource.org

Somehow, all the find's work and execute the corresponding SELECT statement, every persist() call fails to issue the INSERT statements. I'd guess the problem has something to do with transaction management. ...