Oh yeah, there is definitely quite a bit of refactoring in my near future.
I think I'm going to look into using non-static instances of Session by opening up a Session before any database...
Type: Posts; User: KevinWorkman
Oh yeah, there is definitely quite a bit of refactoring in my near future.
I think I'm going to look into using non-static instances of Session by opening up a Session before any database...
That's interesting. Wouldn't I then want to close the session afterwards? I thought of doing something like this:
public static List<Game> getAllGames(){
Session session =...
Thanks for the reply. I made the database accessor methods static because I (perhaps incorrectly) guessed that it would simplify things over creating an instance for each database interaction.
I...
I originally posted this question here last week, but I haven't received any responses, so I'm hoping to get some feedback here- if even just to find out what else I need to post in order to get an...