Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.20 seconds.

  1. Re: Hibernate - NullPointerException : PreparedStatement.java:1709

    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...
  2. Re: Hibernate - NullPointerException : PreparedStatement.java:1709

    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 =...
  3. Re: Hibernate - NullPointerException : PreparedStatement.java:1709

    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...
  4. Hibernate - NullPointerException : PreparedStatement.java:1709

    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...
Results 1 to 4 of 4