{"push_id":1001673185,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"7e0d2cd8db83866d4cbf153c359415846eaa4c1a","before":"7b2873afd5596a71a4fcf2725c4eba9aa3d324c6","commits":[{"sha":"619f086ba1f3184acfdc42551529fe20d41d8f6a","author":{"email":"a412cd4fe2b46a057aacb73a2a293c50c93138c2@zeutschel.de","name":"Matthias Ronge"},"message":"Pass only the ID of the newspaper batch to the worker thread\n\nAsynchronous work should be passed the ID of the object only. Found\nhere: http://blog.schauderhaft.de/2008/09/28/hibernate-sessions-in-two-tier-rich-client-applications/\n\n> The answer is actually fairly easy once found: […] Background tasks\nget their own session. The critical point is the transfer of objects\nfrom one frame to another. It is tempting to just pass the object but\nthen you have a object from the wrong session in the frame. Instead pass\njust the Id (the primary key) and use that to load the object in the new\nsession. This approach solved most of our problems nicely.","distinct":true,"url":"https://api.github.com/repos/goobi/goobi-production/commits/619f086ba1f3184acfdc42551529fe20d41d8f6a"},{"sha":"7e0d2cd8db83866d4cbf153c359415846eaa4c1a","author":{"email":"a6bd055f005d57a5ecad8b9e6f6e9851d4a885b1@users.noreply.github.com","name":"Henning Gerhardt"},"message":"Merge pull request #452 from matthias-ronge/pass-id-to-worker-thread\n\nPass only the ID of the newspaper batch to the worker thread","distinct":true,"url":"https://api.github.com/repos/goobi/goobi-production/commits/7e0d2cd8db83866d4cbf153c359415846eaa4c1a"}]}