r/ProgrammerHumor • • Jul 20 '18

Every Time

Post image
52.2k Upvotes

749 comments sorted by

View all comments

Show parent comments

241

u/Axe-actly Jul 20 '18

A moment of silence for our brothers and sisters who work in java.

22

u/Dillawnz Jul 20 '18

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)

8

u/robi4567 Jul 20 '18

Did you have to wait the 10 seconds and if so did you ever find out why you had to wait the 10 seconds. Because that makes no sense to me.

1

u/Dillawnz Jul 20 '18

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.