Hi, within a Spring Batch project, I'm trying to use Spring Integration (2.0.5.RELEASE) to send a JMS message using the approach described in this blog post here:
...
Type: Posts; User: stash1071; Keyword(s):
Hi, within a Spring Batch project, I'm trying to use Spring Integration (2.0.5.RELEASE) to send a JMS message using the approach described in this blog post here:
...
A call to flush() seemed to do the trick:
getJpaTemplate().persist(foo);
getJpaTemplate.flush()
I'm having a similar issue using an orm.xml and getJpaTemplate():
getJpaTemplate().persist(foo);
The foo object has an id before the call to persist().
The entity mapping in orm.xml: