Blog

Websphere does not insert record with Eclipselink

Have you started a new JavaEE project based on EJB and JPA (Eclipselink) then tested on Glassfish and everything is OK. But on the WebSphere it seems that Eclipselink does not insert records in DB. That is because of the Target-server property of Eclipselink that should be set when using on WAS.

JPA flushes before query execution

Tags :
Categories :
By default, the JPA flush mode is set to AUTO. That means that the EntityManagers performs a flush operation automatically as needed. In other words, if entities with pending changes are used in a query, the persistence provider will flush changes to the database before executing the query.
  • Previous
  • 1
  • Next

All Categories