• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JPA and Hibernate -- Manual Flush

 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've read in several places, including "Seam in Action" (Manning), that an important part of Hibernate not supported by JPA is manual flush. However, the JPA EntityManager does have a flush() method, so I'm a bit confused. Does it mean that JPA allows manual flushes, but you can't stop it from also auto-syncing to the database as it sees fit? Or does it mean that em.flush() won't have any effect unless using the Hibernate implementation of JPA?
 
reply
    Bookmark Topic Watch Topic
  • New Topic