I-) DUMP OBJECT BEFORE UPDATE [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:=true, LockMode:=PESSIMISTIC_WRITE]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1396, Name:=sent, Value:=ID:=1396, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1399, Name:=Tag, Value:=ID:=1399, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1387, Name:=dateOfBirth, Value:=ID:=1387, PrimitiveValue:=27.06.2016 12:53, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1389, Name:=country, Value:=ID:=1389, PrimitiveValue:=Country 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1394, Name:=invited, Value:=ID:=1394, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1391, Name:=zip, Value:=ID:=1391, PrimitiveValue:=99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1398, Name:=initiated, Value:=ID:=1398, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1397, Name:=lastVisit, Value:=ID:=1397, PrimitiveValue:=27.06.2016 12:53, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1393, Name:=secondName, Value:=ID:=1393, PrimitiveValue:=SecondName 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1400, Name:=profileName, Value:=ID:=1400, PrimitiveValue:=ProfileName 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1388, Name:=city, Value:=ID:=1388, PrimitiveValue:=City 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1392, Name:=member, Value:=ID:=1392, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1390, Name:=firstName, Value:=ID:=1390, PrimitiveValue:=FirstName 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1395, Name:=received, Value:=ID:=1395, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ INFO>>> Dumping object values done....]] II-) DUMP AFTER UPDATING AND PERSISTING THE CHANGES WITH THE EntityManager [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:=true, LockMode:=PESSIMISTIC_WRITE]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1396, Name:=sent, Value:=ID:=1396, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1399, Name:=Tag, Value:=ID:=1399, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1387, Name:=dateOfBirth, Value:=ID:=1387, PrimitiveValue:=27.06.2016 12:53, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1389, Name:=country, Value:=ID:=1389, PrimitiveValue:=Country 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1394, Name:=invited, Value:=ID:=1394, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1391, Name:=zip, Value:=ID:=1391, PrimitiveValue:=99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1398, Name:=initiated, Value:=ID:=1398, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1397, Name:=lastVisit, Value:=ID:=1397, PrimitiveValue:=27.06.2016 12:53, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1393, Name:=secondName, Value:=ID:=1393, PrimitiveValue:=SecondName 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1400, Name:=profileName, Value:=ID:=null, PrimitiveValue:=ProfileName 99 (Just a test update...), REVISION:=1, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1388, Name:=city, Value:=ID:=1388, PrimitiveValue:=City 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1392, Name:=member, Value:=ID:=1392, List:=[], REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1390, Name:=firstName, Value:=ID:=1390, PrimitiveValue:=FirstName 99, REVISION:=0, isPersisted:=true]] [2016-06-27T12:54:18.116+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1467024858116] [levelValue: 800] [[ Attribute ID:=1395, Name:=received, Value:=ID:=1395, List:=[], REVISION:=0, isPersisted:=true]] III-) DUMP AFTER RETRIEVING THE UPDATED OBJECT FROM DB FILE [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:=true, LockMode:=null]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1392, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1394, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1400, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1395, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1399, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1393, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1387, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1398, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1388, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1397, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1396, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1390, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1391, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]] [2016-06-27T12:54:18.178+0200] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=28 _ThreadName=Thread-8] [timeMillis: 1467024858178] [levelValue: 800] [[ Attribute ID:=1389, Name:=null, Value:=null, REVISION:=null, isPersisted:=false]]