Latest Articles

30 August 2015
This article covers the optimistic and pessimistic locking mechanisms available in the Java Persistence API (using LockModeType)
29 July 2015
This article covers database optimistic locking in general and also demonstrates how to implement optimistic locking in Java Persistence API (JPA) entities by using the @Version annotation
26 June 2015
This article explains why do the Java Persistence API (JPA) often generates additional queries while dealing with OneToOne relationships
19 April 2015
In this article we will cover the differences between TRANSACTION and EXTENDED Persistence Context (Entity Manager).
22 January 2015
In this article we will cover Container vs Application Managed EntityManager (Persistence Context) and its relationship with JTA or RESOURCE LOCAL transaction management.
08 May 2014
In this article we will see how to configure EJB transactions across multiple datasources
02 January 2014
In this article we will see how to fix InvalidIsolationLevelException: Standard JPA does not support custom isolation levels - use a special JpaDialect for your JPA implementation.
02 January 2014
In this article we will see how to effectively change Spring transaction isolation level, together with JPA, while avoiding InvalidIsolationLevelException: Standard JPA does not support custom isolation levels - use a special JpaDialect for your JPA implementation.
1 2 Next
About the author
Gonçalo Marques is a Software Engineer with several years of experience in software development and architecture definition. During this period his main focus was delivering software solutions in banking, telecommunications and governmental areas. He created the Bytes Lounge website with one ultimate goal: share his knowledge with the software development community. His main area of expertise is Java and open source.

GitHub profile: https://github.com/gonmarques

He is also the author of the WiFi File Browser Android application: