OptimisticLockException « Fetch « JPA Q&A





1. OptimisticLockException when trying to fetch data from postgreSQL    stackoverflow.com

We're developing a WebSite that's intended to have several requests per second.- Our current environment is JavaEE, JBoss 4.2.3, Struts2 for MVC, JPA with Hibernate as ORM and Postgres as DB.- This is ...

2. Why does a Fetch / get / query throw OptimisticLockException    forum.hibernate.org

Closing in on this issue I think I know generally what it is now... My entity has a couple Custom User Types to Support double[] array's and int[] arrays I think the User Type or some other part of Hibernate thinks that they are always modified... and so after the Select it automatically does an Update... For similar reasons this is ...