Yes you'd need to close the session...it sounds like some refactoring is in your future. If you truly want lazy loading from the Client/jsp page, then you'll need some way of closing the session. If...
Type: Posts; User: copeg
Yes you'd need to close the session...it sounds like some refactoring is in your future. If you truly want lazy loading from the Client/jsp page, then you'll need some way of closing the session. If...
Its been a long time since I used Hibernate, but if I remember correctly JDBC connections (and connection pools) are managed above the Session level. In other words, if you obtain a Session instance...
See MySQL Bugs: #41628: NullPointerException from Statement.execute() when closing from another thread
I noticed you are using a static method to retrieve the list of games. My guess (and only a...