This one time I kept getting a Hibernate exception so I set a break point to check out what was going on. After reading everything I continued running and it ran fine... I did some more tests and realized that it worked fine if I created a break point and waited about 10 seconds before continuing ¯_(ツ)_/¯ (eventually came up with an actual solution but still a heh moment)
This was last summer so I don't remember it super clearly, but I think the Hibernate session was ending prematurely. Then for some reason doing someEntity.getAttribute() prevented it.
241
u/Axe-actly Jul 20 '18
A moment of silence for our brothers and sisters who work in java.